Executing a stored procedure inside BEGIN/END TRANSACTION

前端 未结 7 1082
谎友^
谎友^ 2020-12-13 06:28

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

7条回答
  •  借酒劲吻你
    2020-12-13 06:53

    Yes, everything that you do between the Begin Transaction and Commit (or Rollback) is part of the transaction.

提交回复
热议问题