16.20 - Usage Notes - 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)

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.