BITAND Function | VantageCloud Lake - BITAND - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Performs the logical AND operation on the corresponding bits from the two input arguments.

This function takes two bit patterns of equal length and performs the logical AND operation on each pair of corresponding bits. If the bits at the same position are both 1, then the result is 1; otherwise, the result is 0. If either input argument is NULL, the function returns NULL.

For more information about target_arg and bit_mask_arg, see Performing Bit-Byte Operations against Arguments with Unequal Lengths.

See also "Function Name Overloading" in Using Functions with CREATE/REPLACE FUNCTION (SQL Form).

ANSI Compliance

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