I have a set of custom messages in SQL Server that I write to the event log, and I never realized that they all write with the same EVENTID 17063 in the application event log, how can I specify sp_addmessage to write a custom EvenID so that everyone is not registered with EVENTID 17063?
EXEC sp_addmessage @msgnum = 90002, @severity = 16, @msgtext = N'some text ', @lang =' us_english ', @with_log =' TRUE ', @replace =' replace '; ReplyQuote
source share