Adding Entries to sysmessages : sp_addmessage « System Functions « SQL Server / T-SQL Tutorial






4>
5> sp_addmessage 50001, 12, 'A number greater than 0 was expected. Please retry'
6> GO








25.18.sp_addmessage
25.18.1.Adding Entries to sysmessages
25.18.2.Adding a message to the sysmessages table using the REPLACE option.
25.18.3.Adding a custom error