17.10 - Usage Notes - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
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.