Cannot drop a message with an ID less than 50,000.

Error Message:
Msg 15178, Level 16, State 1, Procedure sp_dropmessage, Line 25
Cannot drop a message with an ID less than 50,000.

Severity level:
16.

Description:
This error message appears when you try to drop a system-defined message with an ID less than 50,000.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Error of the Severity level 16 are generated by the user and can be fixed by the SQL Server user. The statement cannot be run this way. You can not drop a system-defined message.

Versions:
All versions of SQL Server.

Example(s):
EXEC sys.sp_dropmessage 0

Remarks:
In the above example we try to drop the message with ID 0. This raises the error.




Array

No comments yet... Be the first to leave a reply!