Maybe you can use a message that you can pass a argument to. See the example below.exec sp_dropmessage @msgnum = 50001goexec sp_addmessage @msgnum = 50001, @severity=16, @msgtext=N'%ls',@lang='us_english'goRAISERROR (50001,16, 1, 'My custom error message')RAISERROR (50001,14, 1, '****My other error message ****')Results:Server: Msg 50001, Level 16, State 1, Line 1My custom error messageServer: Msg 50001, Level 14, State 1, Line 2****My other error message ****
CODO ERGO SUM