Drops a specified error message from the sysmessages system table.
sp_dropmessage [@msgnum =] message_number
[, [@lang =] 'language']
0 (success) or 1 (failure)
None
Execute permissions default to members of the sysadmin fixed server role.
This example drops the message (number 50001) from sysmessages.
USE master
EXEC sp_dropmessage 50001
Here is the result:
Message dropped.
CREATE TABLE | sp_altermessage |
RAISERROR | System Stored Procedures |
sp_addmessage |