ERROR_SEVERITY_UDF

Definition

This user-defined function (UDF) gets a value indicating the severity of an error. The default value will always be 16.

ERROR_SEVERITY_UDF() 

Parameters

No input parameters.

Returns

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

Usage example

Input:

SELECT ERROR_SEVERITY_UDF();

Output:

null -- No information set.

Last updated