What you wrote will return "-1" True
--------
select ((48 \ 16) mod 2)
if this returns 1 then the number contains bit which represent number 16.
--------
select (48 & 16)
should return 16 in MSSQL
what about under MSAccess
select (48 and 16) this is equal to: select (true and true) and result is true
returns "-1" true, not 16 as i would expect
How to do bitwise integer operations in MSAccess?
Main Topics
Browse All Topics





by: DrTechPosted on 2003-07-03 at 02:28:44ID: 8847587
5 AND 3