sp_addmessage 50006 , 18 , 'error occurred while updating the variable value', @with_log = 'true', @Replace='replace' select * from sys.messages
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)