BITNOT Function | VantageCloud Lake - BITNOT - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Performs a bitwise complement on the binary representation of the input argument.

The bitwise NOT, or complement, is a unary operation which performs logical negation on each bit, forming the ones complement of the specified binary value. The digits in the argument which were 0 become 1, and the reverse.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.