Syntax - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™
int
FNC_TblOpBindAttributeByNdx(FNC_TblOpHandle_t  *handle,
                            int                 index,
                            void               *valueptr,
                            int                 null_ind,
                            int                 length);
FNC_TblOpHandle_t *handle
the handle to the current write context.
For details about the FNC_TblOpHandle_t structure, see Table Operator Interface Functions.
int index
the index of an attribute. The range of values is from 0 to i-1, where 0 is the index of the first attribute.
void *valueptr
a pointer to the memory location where the value of the attribute resides.
int null_ind
whether the attribute is null. -1 indicates null and 0 indicates not null.
int length
the size in bytes of the value pointed to by valueptr. For character varying data types, the length includes the 2 byte length field.