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 bitwise exclusive OR in sql server between two binary types?
Or if this is not possible how can I split a binary/varbinary to individual bytes?
The reason I’m asking for this is because I need to xor two numbers bigger than max int value.
Thanks.
All comments in code block