<bdo id='ng08s'></bdo><ul id='ng08s'></ul>
      <tfoot id='ng08s'></tfoot>

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

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

      2. <legend id='ng08s'><style id='ng08s'><dir id='ng08s'><q id='ng08s'></q></dir></style></legend>
      3. Oracle PL/SQL:将整行从触发器转发到过程

        时间:2023-11-28
      4. <tfoot id='9ptUf'></tfoot>

          <small id='9ptUf'></small><noframes id='9ptUf'>

          <legend id='9ptUf'><style id='9ptUf'><dir id='9ptUf'><q id='9ptUf'></q></dir></style></legend>
        1. <i id='9ptUf'><tr id='9ptUf'><dt id='9ptUf'><q id='9ptUf'><span id='9ptUf'><b id='9ptUf'><form id='9ptUf'><ins id='9ptUf'></ins><ul id='9ptUf'></ul><sub id='9ptUf'></sub></form><legend id='9ptUf'></legend><bdo id='9ptUf'><pre id='9ptUf'><center id='9ptUf'></center></pre></bdo></b><th id='9ptUf'></th></span></q></dt></tr></i><div id='9ptUf'><tfoot id='9ptUf'></tfoot><dl id='9ptUf'><fieldset id='9ptUf'></fieldset></dl></div>
            <tbody id='9ptUf'></tbody>
                <bdo id='9ptUf'></bdo><ul id='9ptUf'></ul>
                1. 本文介绍了Oracle PL/SQL:将整行从触发器转发到过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  有一个 Oracle (10i) PL/SQL 行级触发器,它负责三个独立的任务.由于触发器在这种情况下相对混乱,我想将这三个任务导出到三个存储过程中.我正在考虑使用 my_table%ROWTYPE 参数或过程的集合类型,但我主要关心的是如何填充这些参数.

                  In have an Oracle (10i) PL/SQL Row-Level trigger which is responsible for three independent tasks. As the trigger is relatively cluttered that way, I want to export these three tasks into three stored procedures. I was thinking of using a my_table%ROWTYPE parameter or maybe a collection type for the procedures, but my main concern is how to fill these parameters.

                  有没有办法轻松地将触发器的整个 :NEW 行放入单个变量中?到目前为止,我能找到的唯一方法是将每个字段单独分配给不太令人满意的变量,查看代码维护等.

                  Is there a way to put the whole :NEW row of a trigger into a single variable easily? So far the only way I could find out was assigning each field separately to the variable which is not quite satisfying, looking at code maintenance etc.

                  类似的东西

                  SELECT :NEW.* INTO <variable> FROM dual;
                  

                  将是首选.(实际上我还没有尝试过,但我想它不会起作用)

                  would be preferred. (I haven't tried that actually but I suppose it wouldn't work)

                  推荐答案

                  这不可能.

                  也许 我对另一个问题的回答 可以提供帮助.

                  Maybe my answer to another question can help.

                  这篇关于Oracle PL/SQL:将整行从触发器转发到过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Oracle 中的循环游标 下一篇:如何在 Oracle PL/SQL where 子句中使用变量

                  相关文章

                  • <bdo id='pM5Hg'></bdo><ul id='pM5Hg'></ul>
                2. <i id='pM5Hg'><tr id='pM5Hg'><dt id='pM5Hg'><q id='pM5Hg'><span id='pM5Hg'><b id='pM5Hg'><form id='pM5Hg'><ins id='pM5Hg'></ins><ul id='pM5Hg'></ul><sub id='pM5Hg'></sub></form><legend id='pM5Hg'></legend><bdo id='pM5Hg'><pre id='pM5Hg'><center id='pM5Hg'></center></pre></bdo></b><th id='pM5Hg'></th></span></q></dt></tr></i><div id='pM5Hg'><tfoot id='pM5Hg'></tfoot><dl id='pM5Hg'><fieldset id='pM5Hg'></fieldset></dl></div>
                  <legend id='pM5Hg'><style id='pM5Hg'><dir id='pM5Hg'><q id='pM5Hg'></q></dir></style></legend><tfoot id='pM5Hg'></tfoot>
                3. <small id='pM5Hg'></small><noframes id='pM5Hg'>