FNC_DefMem Function | C Library Functions | Teradata Vantage - 17.10 - FNC_DefMem - 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)

Allocates the required memory for the aggregate intermediate storage structure defined by an aggregate UDF.

FNC_DefMem returns a pointer to the allocated memory.

If FNC_DefMem cannot allocate the memory, which usually only happens when the value of len is too big, a NULL pointer is returned.