T-SQL XOR Operator

后端 未结 9 663
既然无缘
既然无缘 2020-11-30 23:43

Is there an XOR operator or equivalent function in SQL Server (T-SQL)?

9条回答
  •  猫巷女王i
    2020-12-01 00:27

    It is ^ http://msdn.microsoft.com/en-us/library/ms190277.aspx

    See also some code here in the middle of the page How to flip a bit in SQL Server by using the Bitwise NOT operator

提交回复
热议问题