About this question
In a SQL Server code block, what is the best place to place the commit transaction? Inside the try-catch block or outside it?. For example, please check and confirm whether Option A or Option B is the correct approach? Or are both are subjective? Option A
Option B
In Option B, there is possibly some error, when its doing a commit outside the TRY-CATCH block?