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

Get the address of a previously-allocated general scratchpad to retain data between iterations of a local table function copy.

FNC_TblGetCtx returns the address of the general scratchpad that a local table function copy can use to retain data between iterations.

The return value is a NULL pointer if the general scratchpad has not been previously allocated with a call to FNC_TblAllocCtx.

This library function is valid during any mode or processing phase in which the table function is invoked.