You can use these bitwise operators on all unscaled integer data types, in both Sybase IQ and Adaptive Server Enterprise.
Operator
Description
&
AND
|
OR
^
EXCLUSIVE OR
~
NOT