Last updated 1 year ago
This user-defined function (UDF) gets a value indicating the severity of an error. The default value will always be 16.
No input parameters.
Returns a string with the value associated with the SQL variable name ERROR_SEVERITY.
string
ERROR_SEVERITY
Input:
Output:
ERROR_SEVERITY_UDF()
SELECT ERROR_SEVERITY_UDF();
null -- No information set.