How to do bitwise exclusive OR in sql server between two binary types?

后端 未结 4 1537
心在旅途
心在旅途 2021-01-05 03:16

According this link: Bitwise Operators (Transact-SQL) we can do bitwise operation between binary and int, smallint, tinyint or vice versa.

But how can I make a bitwi

4条回答
  •  无人及你
    2021-01-05 04:01

    Per the Bitwise Exclusive OR documentation:

    Note

    Only one expression can be of either binary or varbinary data type in a bitwise operation.

提交回复
热议问题