What is RAISEERROR in SQL Server ?

RAISERROR generates an error message and initiates error processing for the session. RAISERROR can either reference a user-defined message stored in the sys.messages catalog view or build a message dynamically.

The message is returned as a server error message to the calling application or an associated CATCH block of a TRY…CATCH construct.



You May Interest

What is the Difference Between Clustered and a Non-clustered Inde ...

What is The Concept of Piecemeal Restore on SQL Server ?

What is the Difference Between DB Mirroring and Log Shipping in S ...

What is Change Data Capture in SQL Server ?

What is the Bookmark Lookup and RID Lookup in SQL Server ?