The AND Operator (&)
The AND operator compares 2 bits. If they are both 1, the result is 1.
Bit 1
Bit 2
Bit 1 & Bit 2
0
0
0
0
1
0
1
0
0
1
1
1
Parent topic:
Bitwise Operators
Created June 28, 2012. Send feedback on this help topic to Sybase Technical Publications:
pubs@sybase.com