WebSphere Message Brokers
File: ak05340_
Writer: Bill Oppenheimer

Reference topic

This build: July 31, 2007 21:31:53

BITXOR function

The BITXOR numeric function performs a bitwise XOR on the binary representation of two or more numbers.

Syntax

BITXOR takes two or more integer values and returns the result of performing the bitwise XOR 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:
BITXOR(12, 7)
returns 11, as shown by this worked example:
   Binary Decimal
    1100    12
XOR 0111     7
_________
    1011    11
Related concepts
ESQL overview
Related tasks
Developing ESQL
Related reference
Syntax diagrams: available types
ESQL numeric functions
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:31:53

ak05340_ This topic's URL is: