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

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.