RicardoPereira
Programmer
Hi,
I have a stored procedure that print an output whenever the statment has errors. Something like:
create procedure teste as
select * from nonexistentTabe
if (@@error <> 0)
Print 'Error on statement'
How do i get the Error on statement message?
thanks
Ricardo pereira
I have a stored procedure that print an output whenever the statment has errors. Something like:
create procedure teste as
select * from nonexistentTabe
if (@@error <> 0)
Print 'Error on statement'
How do i get the Error on statement message?
thanks
Ricardo pereira