17.10 - Restrictions - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

If the element type is a UDT, then UDT handles are returned in the returnValue buffer for each UDT element retrieved. No more than 2000 UDT handles may be allocated during the execution of any UDF, UDM, or external stored procedure. Therefore, no more than 2000 UDT elements may be retrieved in any call to FNC_GetArrayElements, and if other FNC calls in your routine also allocate UDT handles, this limit will be even lower.