WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
BITAND function
The BITAND numeric function performs a bitwise AND on the binary representation of two or more numbers.
BITAND takes two or more integer values and returns the result of performing the bitwise AND on the binary representation of the numbers. The result is INTEGER unless either parameter is NULL, in which case the result is NULL.
For example:
BITAND(12, 7)
returns 4 as
shown by this worked example: Binary Decimal
1100 12
AND 0111 7
_________
0100 4