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 use either FNC_GetPhase or FNC_GetPhaseEx, but cannot use both.