Rollback Transaction On Error In SQL Server Stored Procedure
How to rollback transaction on error in SQL Server stored procedure? Example for including transaction in TRY – CATCH block to rollback a transaction on any error occurred in the stored procedure.