FNC_CheckNullBitVectorByElemIndex Function | C Library Functions | Vantage - 17.10 - FNC_CheckNullBitVectorByElemIndex - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

Checks the value of one bit in a NullBitVector that was previously allocated by the caller. The bit to be checked may be referenced by the ARRAY type element index as specified by dimension.

FNC_CheckNullBitVectorByElemIndex returns an integer which is the value of the specified bit that was checked in the NullBitVector. Valid values returned are:
  • 1, meaning that the corresponding element in the ARRAY contains a non-null value.
  • 0, meaning that the corresponding element in the ARRAY is present but set to NULL.