Comparing two bitmasks in SQL to see if any of the bits match

后端 未结 6 2031
清歌不尽
清歌不尽 2020-12-04 11:04

Is there a way of comparing two bitmasks in Transact-SQL to see if any of the bits match? I\'ve got a User table with a bitmask for all the roles the user belongs to, and I\

6条回答
提交回复
热议问题