22.25 GET_DML_STATUS_MESSAGE Function

This function returns the SQL status message of the last context execution, for the current row. For local or remote SQL contexts, the ORA error message will be returned in case of an error; NULL in case of success.

For REST Data Source contexts, the function returns the HTTP reason phrase.

Syntax

FUNCTION GET_DML_STATUS_MESSAGE(
    p_context       IN t_context )
    RETURN VARCHAR2;

Parameters

Table 22-23 GET_DML_STATUS_MESSAGE Function Parameters

Parameter Description
p_context Context object obtained with one of the OPEN_ functions.

Returns

The DML status message of the current row.