Saturday, January 30, 2016

Error messages

All the error messages are found by

SELECT * FROM sys.messages

Error number: 1-49999 are sql server error messages
50000 is reserved for a custom message

Severity level: 16-25 are logged automatically in SQL server log and windows application log
0-10 are information only.

State:


Custom error can be added by sp_addmessage.


No comments:

Post a Comment