FNC_TblOpGetAttributeByNdx Function | C Library Functions | Teradata Vantage - 17.10 - FNC_TblOpGetAttributeByNdx - 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)

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.