I am trying to execute the following code:
THROW 51051, 'I come from the THROW construct :)', 1 ;
The error I am getting is:
Could not find stored procedure 'THROW'.
Is the THROW procedure a sytem procedure? Why can't he find him?
Moreover, what is the difference between canceling THROW and ErrorState? Is a person older / higher / better than another? And what does ErrorSeverity and ErrorState mean from ErrorState? Can I define them as I will or are they predetermined?
source share