I\'m storing a flag in SQL Server as binary(n) (currently n=2 but in the future is may grow). I use it to do bitwise and to check if it contains a specific valu
binary(n)