What is RAISERROR in SQL SERVER?

What is RAISERROR in SQL SERVER?


Joel Fisak
Views: 1591 | Community Opinion: 1

Tags..  SQL SERVER  Stored Procedures  Database Developer

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Steven Leong Said..

Stored procedures in SQL Server 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 @@ERROR
automatic variable, and optionally writes the message to the SQL Server error log and the NT
application event log.






Register or Login to Post Your Opinion