Error « Transact SQL « SQL Server / T-SQL






1.A simple example of the @@ERROR variable
2.Use @Error
3.Rollback transaction on error
4.Create a Stored Procedure that raises an error