Is it possible to perform a bitwise operation on a 1000-bit number in SQL Server?

The question arises:

Bitwise And On Sql Server

In response to the above question, I suggested converting varchar (1000), which contained the binary number for it with an integer equivalent, and perform bitwise operations on it. Although this would be good for much smaller binary numbers, it is too large to work with any method I know of.

Does anyone know how to do this in SQL Server? Can I apply bitwise operations to a binary data type?

+3
source share
1 answer

I answered in another question. Regarding this

SQL Server, & varbinary. , int/bigint, -.

, , - , . http://www.dmertl.com/files/posts/binary_bitwise.sql

+3

All Articles