getMode() - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Returns a value that indicates whether the arguments to the table function are constant or vary.

Return Value

Value Meaning
Tbl.TBL_MODE_CONST The table UDF arguments are constant. The SELECT statement invoked the table function with constant expression input arguments.
Tbl.TBL_MODE_VARY The table UDF arguments vary and are based on the rows produced by the correlated table specification in the SELECT statement.

The table UDF might only be called on specific AMP vprocs in this mode.