November 2003
Intermediate to advanced
816 pages
14h 53m
English
Robust programming in any language requires the program to be able to take reasonable action when things don't go as intended. Table 5-4 lists typical error messages.
| Managing Error Messages | Error Log Files— record of SQL Server error occurrences and sysmessages Table— table of SQL Server error definitions |
|---|---|
| sp_addmessage, sp_altermessage, sp_dropmessage | Users may add their own error messages. |
| @@ERROR | The error status of most recently executed statement returns. |
| RAISERROR | User may invoke a system- or user-defined error condition. |
The occurrence of an error by SQL Server is recorded in SQL Server ...
Read now
Unlock full access