Have a database where one table has a field that uses binary bits as flags. So depending on which flags are toggled, you could have a wide range of values so looking at the value alone isn't helpful. ie, a value greater than 8 doesn't mean that the value of 8 is in use (17 for example is 16 + 1).
With this in mind, is there a way to update multiple records to either set or unset a bit (say a value of 8) for a particular field? Some records might have it set while others don't, so don't want to just simple add (or subtract) 8 from it.