RaiseError generates an error message and initiates error processing for the system.
RaisEerror can either reference defined message stored in the sys.messages catalogview or build a message dynamically. The message is returned as a server error message to the calling application or to an associated CATCH block of a TRY…ATCH construct.

No comments:
Post a Comment