SQL Server/T-SQL Tutorial/System Functions/sp dropmessage
Deleting a message in the sysmessages table.
3>
4> sp_addmessage 50001, 12, "The specified value for %s was invalid."
5> , US_English, TRUE, REPLACE
6>
7> sp_dropmessage 50001
8> GO