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

Provides access to information about the calling table operator.

Syntax

void
FNC_TblOpGetFunctionDef(char               *fnameBuff,
                        int                fnameBuff_len,
                        BYTE               *execmode,
                        unsigned short int *chartype,
                        boolean_t          *casesensitivity);

Syntax Elements

fnameBuff
a pointer to a buffer where the name of the table operator is returned.
fnameBuff_len
the length of the fnameBuff buffer.
execmode
a pointer to the memory location where the execution mode of the table operator is returned.
chartype
a pointer to the memory location where the character set of the table operator is returned.
casesensitivity
a pointer to the memory location where the case sensitivity of the table operator is returned.

Usage Notes

You must allocate memory for the table operator name, execution mode, character set, and case sensitivity before calling FNC_TblOpGetFunctionDef. You must release the memory when this information is no longer needed.