WebSphere Message Brokers
File: ak05320_
Writer: Bill Oppenheimer

Reference topic

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

BITNOT function

The BITNOT numeric function performs a bitwise complement on the binary representation of a number.

Syntax

BITNOT takes an integer value and returns the result of performing the bitwise complement on the binary representation of the number. The result is INTEGER unless either parameter is NULL, in which case the result is NULL.

For example:
BITNOT(7)
returns -8, as shown by this worked example:
   Binary Decimal
00...0111    7
NOT
_________
11...1000   -8
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:52

ak05320_ This topic's URL is: