16.20 - Restrictions - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
April 2020
Content Type
Programming Reference
Publication ID
English (United States)

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

A table function can call FNC_GetPhase or FNC_GetPhaseEx, but cannot call both.