16.20 - Restrictions - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

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.