15.22 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 Web Source Module contexts, the function returns the HTTP reason phrase.

Syntax

FUNCTION GET_DML_STATUS_MESSAGE(
   p_context               IN t_context) RETURN VARCHAR2;
    

Parameters

Table 15-20 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.