FNC_GetStructuredAttribute Function | C Library Functions | Teradata Vantage - FNC_GetStructuredAttribute - 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™

Returns the value of an attribute of a structured type that is defined to be an input parameter to a UDF, UDM, or external stored procedure.

The attribute must be one of the following types:
  • Non-LOB predefined type, such as INTEGER or VARCHAR
  • Distinct UDT
  • Structured UDT
  • JSON

To get the value of a LOB attribute of a structured type, use the C library routine FNC_GetStructuredInputLobAttributeByNdx.

For best performance, use FNC_SetStructuredAttributeByNdx instead of this routine. This routine is supported for ease of use.