PDA

View Full Version : bitmaps



EternalOptimist
23rd January 2015, 17:05
I need a quick answer..

sql server 2008.

how can I get a true or false from a bitmap, without unravelling it in code

e.g. my bit map is 6

1 .... 6 = false
2 ... 6 = true
3 ....6 = true
4...6 = false


I tried AND which I thought should work
e.g.

?1 AND 6

EternalOptimist
23rd January 2015, 18:07
stand down . got it

6 & 1 = 0