Is there an XOR operator or equivalent function in SQL Server (T-SQL)?
The xor operator is ^
^
For example: SELECT A ^ B where A and B are integer category data types.
SELECT A ^ B