ERROR_NUMBER_UDF

Definition

This user-defined function (UDF) returns the value associated with the SQL variable name ERROR_NUMBER.

ERROR_NUMBER_UDF() 

Parameters

No input parameters.

Returns

Returns a string with the value associated with the SQL variable name ERROR_NUMBER.

Usage example

Input:

SELECT ERROR_NUMBER_UDF();

Output:

null -- No information set.

Last updated