Database Engine Severity Levels
You should return 16. Is the default most commonly used error level:
Indicates common errors that can be corrected by the user.
Do not return 17-18, this indicates more serious errors, such as resource problems:
Indicate software errors that cannot be corrected by the user. Notify your system administrator of the problem.
Also do not return 11-15, because they have a special meaning attached to each level (14 - access to security, 15 - syntax error, 13 - deadlock, etc.).
Level 16 does not complete execution.
When you intend to log a warning, but continue to execute, use a severity level below 10.
Remus Rusanu Jul 14 '09 at 0:53 2009-07-14 00:53
source share