After every instruction SQL I test the value returned from the @@ERROR function.
Now, in case of error, I would want to recover and to assign to one variable, the error message associated to the value returned from the @@ERROR function.
I see the table sysmessages in the DB master, but in this table the error message is a template.
I would want to recover a message without %ls, %d, %S_type.
How I can make? , It is possible?
Thanks and bye bye
Flavio