FNC_TblGetCtx Function | C Library Functions | Teradata Vantage - FNC_TblGetCtx - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.