Restrictions - 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™

This function can only be called from within a table function. Calling this function in a scalar function, aggregate function, UDM, or external stored procedure results in an exception on the transaction.

This function can only be called once.

A table function that calls FNC_TblFirstParticipant cannot also call FNC_TblControl.

Calling this function is valid when the table function calls FNC_GetPhase and gets a:

  • value of TBL_PRE_INIT for the processing phase
  • return value of TBL_MODE_CONST

If one copy of the table function calls FNC_TblFirstParticipant, then all copies of the table function must also call FNC_TblFirstParticipant.