1. <small id='j4MOV'></small><noframes id='j4MOV'>

        <bdo id='j4MOV'></bdo><ul id='j4MOV'></ul>

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

        ORACLE/SQL Server 中的减法与除外差异

        时间:2023-11-03

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

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

                  本文介绍了ORACLE/SQL Server 中的减法与除外差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  MINUS 是一个 SQL 集合操作,它从第一个表中选择元素,然后删除 Oracle 中第二个 SELECT 语句也返回的行.而在 SQL Server 中,我们可以使用 EXCEPT 来做同样的事情.

                  MINUS is a SQL set operation that selects elements from the first table and then removes rows that are also returned by the second SELECT statement in Oracle. And in SQL Server, we can use EXCEPT to do same thing.

                  在将我的项目从 oracle 迁移到 SQL Server 时,我注意到了不同之处.如果第一个结果集没有记录,则减去第二个 SELECT 语句的结果集.但在 SQL Server 中,EXCEPT 不返回任何内容.在这种情况下我能做什么?我正在迁移我的项目并希望在 SQL Server 中执行相同的减号功能.

                  While migrating my project from oracle to SQL Server, I noticed a difference. If first result set doesn't have records, minus brings result set of second SELECT Statement. But in SQL Server, EXCEPT returns nothing. What can I do in that case? I am migrating my project and want to do same of minus function in SQL Server.

                  感谢您的帮助

                  推荐答案

                  Oracle MINUS 和 SQL Server EXCEPT 没有区别.

                  There is no difference between Oracle MINUS and SQL Server EXCEPT.

                  他们打算做同样的事情.

                  They are intended to do the same thing.

                  • http://dotnetguts.blogspot.com/2008/04/minus-keyword-in-sql-server.html
                  • http://blog.sqlauthority.com/2008/08/07/sql-server-except-clause-in-sql-server-is-similar-to-minus-clause-in-oracle/
                  • http://vyaskn.tripod.com/oracle_sql_server_differences_equivalents.htm(搜索 MINUS 运算符),阅读说明, 完全匹配 SQL Server 的 EXCEPT)
                  • Oracle MINUS 与 SQL Server 除外(比较文档)
                  • http://dotnetguts.blogspot.com/2008/04/minus-keyword-in-sql-server.html
                  • http://blog.sqlauthority.com/2008/08/07/sql-server-except-clause-in-sql-server-is-similar-to-minus-clause-in-oracle/
                  • http://vyaskn.tripod.com/oracle_sql_server_differences_equivalents.htm (search for MINUS operator), read the description, which matches EXCEPT for SQL Server exactly)
                  • Oracle MINUS vs SQL Server EXCEPT (compare docs)

                  这篇关于ORACLE/SQL Server 中的减法与除外差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Oracle“ORA-01008:并非所有变量都绑定"带参数的错误 下一篇:使用 PL/SQL 如何将文件内容放入 blob?

                  相关文章

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

                    <legend id='a6m8T'><style id='a6m8T'><dir id='a6m8T'><q id='a6m8T'></q></dir></style></legend>
                  1. <small id='a6m8T'></small><noframes id='a6m8T'>

                    <tfoot id='a6m8T'></tfoot>