Modifying an already-defined error : sp_addmessage « System « SQL Server / T-SQL






Modifying an already-defined error

 


7> EXEC sp_addmessage
8>     @msgnum = 50005,
9>     @severity = 16,
10>     @msgtext = 'Problem with ProductId numbers %i, %i, %i',
11>     @Replace = 'Replace'
12> GO
1>

 








Related examples in the same category

1.Creating a User-Defined Error Message