16.20 - FNC_TblOpGetFunctionDef - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

Purpose

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);
char *fnameBuff
a pointer to a buffer where the name of the table operator is returned.
int fnameBuff_len
the length of the fnameBuff buffer.
BYTE *execmode
a pointer to the memory location where the execution mode of the table operator is returned.
unsigned short int *chartype
a pointer to the memory location where the character set of the table operator is returned.
boolean_t *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.