No words wasted! Getting to the point about the work I do, the problems I deal with, and some links to posts about where I work.
Friday, January 18, 2013
TSQL - Bitwise Operators
I recently had to set a field by ORing three different fields in a table. The easy solution was to use the Bitwise OR operator. So in the table design in SQL Manager, the "Computed Column Specification" for the field I set the formula to (([Field1]|[Field2])|[Field3]). You can learn more about the Bitwise Operators here.