Bitmask in Sql Server - Explained