What is Raiseerror?

Stored procedures report errors to client applications via the RAISERROR command.

RAISERROR doesn’t change the flow of a procedure; it merely displays an error message, sets the @ automatic variable, and optionally writes the message to the SQL Server error log and the NT application event log.


Since March 2011, have 8+ years of professional experience on software development, currently working as Senior Software Engineer at s3 Innovate Pte Ltd.

Leave a Reply