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™
void
FNC_GetDistinctValue ( UDT_HANDLE  udtHandle,
                       void       *returnValue,
                       int         bufSize,
                       int        *length )
UDT_HANDLE udtHandle
the handle to a distinct UDT that is defined to be an input parameter to a UDF, UDM, or external stored procedure.
void *returnValue
a pointer to a buffer that FNC_GetDistinctValue uses to return the value of the distinct type.
int bufSize
the size in bytes of the returnValue buffer.
int *length
the size in bytes of the value that FNC_GetDistinctValue returns in returnValue.
For character data types, the length includes the size of any null termination characters.