<small id='qf6sn'></small><noframes id='qf6sn'>

  • <tfoot id='qf6sn'></tfoot>

    <i id='qf6sn'><tr id='qf6sn'><dt id='qf6sn'><q id='qf6sn'><span id='qf6sn'><b id='qf6sn'><form id='qf6sn'><ins id='qf6sn'></ins><ul id='qf6sn'></ul><sub id='qf6sn'></sub></form><legend id='qf6sn'></legend><bdo id='qf6sn'><pre id='qf6sn'><center id='qf6sn'></center></pre></bdo></b><th id='qf6sn'></th></span></q></dt></tr></i><div id='qf6sn'><tfoot id='qf6sn'></tfoot><dl id='qf6sn'><fieldset id='qf6sn'></fieldset></dl></div>

      • <bdo id='qf6sn'></bdo><ul id='qf6sn'></ul>

      <legend id='qf6sn'><style id='qf6sn'><dir id='qf6sn'><q id='qf6sn'></q></dir></style></legend>

      1. 在 BEGIN/END TRANSACTION 中执行存储过程

        Executing a stored procedure inside BEGIN/END TRANSACTION(在 BEGIN/END TRANSACTION 中执行存储过程)

        <i id='Qr5tX'><tr id='Qr5tX'><dt id='Qr5tX'><q id='Qr5tX'><span id='Qr5tX'><b id='Qr5tX'><form id='Qr5tX'><ins id='Qr5tX'></ins><ul id='Qr5tX'></ul><sub id='Qr5tX'></sub></form><legend id='Qr5tX'></legend><bdo id='Qr5tX'><pre id='Qr5tX'><center id='Qr5tX'></center></pre></bdo></b><th id='Qr5tX'></th></span></q></dt></tr></i><div id='Qr5tX'><tfoot id='Qr5tX'></tfoot><dl id='Qr5tX'><fieldset id='Qr5tX'></fieldset></dl></div>
          <tbody id='Qr5tX'></tbody>

        <small id='Qr5tX'></small><noframes id='Qr5tX'>

                <legend id='Qr5tX'><style id='Qr5tX'><dir id='Qr5tX'><q id='Qr5tX'></q></dir></style></legend>
              • <tfoot id='Qr5tX'></tfoot>
                  <bdo id='Qr5tX'></bdo><ul id='Qr5tX'></ul>
                  本文介绍了在 BEGIN/END TRANSACTION 中执行存储过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如果我在 SQL 中创建一个存储过程并在 BEGIN/END TRANSACTION 中调用它(EXEC spStoredProcedure),这个其他存储过程是否也属于事务?

                  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?

                  我不知道它是否像 C# 中的 try/catch 那样工作.

                  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.

                  这篇关于在 BEGIN/END TRANSACTION 中执行存储过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Accessing another user#39;s table within an Oracle Stored Procedure(在 Oracle 存储过程中访问另一个用户的表)
                  Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32)(超出最大存储过程、函数、触发器或视图嵌套级别(限制 32))
                  How to View Oracle Stored Procedure using SQLPlus?(如何使用 SQLPlus 查看 Oracle 存储过程?)
                  How to debug stored procedure in VS 2015?(如何在 VS 2015 中调试存储过程?)
                  How to Pass Java List of Objects to Oracle Stored Procedure Using MyBatis?(如何使用 MyBatis 将 Java 对象列表传递给 Oracle 存储过程?)
                  Set the variable result, from query(设置变量结果,来自查询)
                • <small id='AN6VZ'></small><noframes id='AN6VZ'>

                      <tbody id='AN6VZ'></tbody>
                      <bdo id='AN6VZ'></bdo><ul id='AN6VZ'></ul>

                        1. <tfoot id='AN6VZ'></tfoot>

                            <legend id='AN6VZ'><style id='AN6VZ'><dir id='AN6VZ'><q id='AN6VZ'></q></dir></style></legend>
                            <i id='AN6VZ'><tr id='AN6VZ'><dt id='AN6VZ'><q id='AN6VZ'><span id='AN6VZ'><b id='AN6VZ'><form id='AN6VZ'><ins id='AN6VZ'></ins><ul id='AN6VZ'></ul><sub id='AN6VZ'></sub></form><legend id='AN6VZ'></legend><bdo id='AN6VZ'><pre id='AN6VZ'><center id='AN6VZ'></center></pre></bdo></b><th id='AN6VZ'></th></span></q></dt></tr></i><div id='AN6VZ'><tfoot id='AN6VZ'></tfoot><dl id='AN6VZ'><fieldset id='AN6VZ'></fieldset></dl></div>