Executing a stored procedure inside BEGIN/END TRANSACTION
If I create a Stored Procedure in SQL and call it ( EXEC spStoredProcedure ) within the BEGIN/END TRANSACTION, does this other stored procedure also fall into the transaction? I didn't know if it worked like try/catches in C#. Yes, everything that you do between the Begin Transaction and Commit (or Rollback) is part of the transaction. Miles Sounds great, thanks a bunch. I ended up doing something like this (because I'm on 05) BEGIN TRY BEGIN TRANSACTION DO SOMETHING COMMIT END TRY BEGIN CATCH IF @@TRANCOUNT > 0 ROLLBACK -- Raise an error with the details of the exception DECLARE @ErrMsg