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

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

Allows table operator writers to access a specific input attribute value in the current row of a stream.

Returns an integer indicating TBLOP_SUCCESS, TBLOP_ERROR, or TBLOP_ABORT.

This function will return an error in the following cases:
  • The handle is associated with an output stream.
  • The stream number or index is out of bounds.
  • The stream is not open.
  • The stream is not set up to access attributes directly. To access attributes directly, it should be opened with options TBLOP_NOOPTIONS.