Usage Notes - 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™

FNC_GetArrayTypeInfo_EON takes an ARRAY handle as input and returns information about the ARRAY argument as follows:

  • The number of dimensions, total number of elements, and information about the element data type are returned in the arrayInfo buffer.
  • The scope of each dimension of the ARRAY is returned in the arrayScope output parameter.

You must allocate the arrayInfo buffer before calling FNC_GetArrayTypeInfo_EON. Be sure to free the memory allocated to the buffer after you process the information.