So the application has checkbox's that are bit flagged. Depending on what checkbox option is selected, the application will store it as an integer in the database. How can I query the int in the database to check if a specific bit is on/off.
Example:
Decimal Binary
16 00010000
208 11010000
I want to check if the 5th bit is on or off (or any for that matter).