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

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

    1. <legend id='arH77'><style id='arH77'><dir id='arH77'><q id='arH77'></q></dir></style></legend>

        <bdo id='arH77'></bdo><ul id='arH77'></ul>
    2. Oracle 从多个表中删除行

      Oracle deleting rows from multiple tables(Oracle 从多个表中删除行)
      <tfoot id='DE0xk'></tfoot>
      <i id='DE0xk'><tr id='DE0xk'><dt id='DE0xk'><q id='DE0xk'><span id='DE0xk'><b id='DE0xk'><form id='DE0xk'><ins id='DE0xk'></ins><ul id='DE0xk'></ul><sub id='DE0xk'></sub></form><legend id='DE0xk'></legend><bdo id='DE0xk'><pre id='DE0xk'><center id='DE0xk'></center></pre></bdo></b><th id='DE0xk'></th></span></q></dt></tr></i><div id='DE0xk'><tfoot id='DE0xk'></tfoot><dl id='DE0xk'><fieldset id='DE0xk'></fieldset></dl></div>

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

          <tbody id='DE0xk'></tbody>

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

          1. <legend id='DE0xk'><style id='DE0xk'><dir id='DE0xk'><q id='DE0xk'></q></dir></style></legend>

                本文介绍了Oracle 从多个表中删除行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在尝试从多个表中删除行,但在 medewerkers m 中出现语法错误,

                i'm trying to delete rows from multiple tables but i'm getting a syntax error at medewerkers m,

                谁能告诉我我在这里做错了什么?:

                Can anyone tell me what i'm doing wrong here? :

                declare
                v_mnr medewerkers.mnr%type;
                procedure ontsla_med(p_mnr in medewerkers.mnr%type)
                IS
                BEGIN
                    DELETE FROM medewerkers m, INSCHRIJVINGEN i , UITVOERINGEN u WHERE m.MNR = p_mnr and i.cursus = p_mnr and u.docent = p_mnr;
                END ontsla_med;
                BEGIN
                    ontsla_med(7000);
                END;

                好像删除语句有误?

                推荐答案

                做不到.它必须是三个单独的删除.

                Can't do it. It has to be three separate deletes.

                DELETE 
                  FROM medewerkers
                 WHERE mnr = p_mnr;
                
                DELETE 
                  FROM UITVOERINGEN 
                 WHERE cursus = p_mnr;
                
                DELETE 
                  FROM UITVOERINGEN 
                 WHERE docent = p_mnr;
                

                这篇关于Oracle 从多个表中删除行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                SQL query to group by day(按天分组的 SQL 查询)
                What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                Include missing months in Group By query(在 Group By 查询中包含缺失的月份)

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

                      <bdo id='UpA2q'></bdo><ul id='UpA2q'></ul>
                        <tfoot id='UpA2q'></tfoot>
                        <legend id='UpA2q'><style id='UpA2q'><dir id='UpA2q'><q id='UpA2q'></q></dir></style></legend>

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