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

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

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

      1. Oracle:“(+)"在 WHERE 子句中有什么作用?

        Oracle: What does `(+)` do in a WHERE clause?(Oracle:“(+)在 WHERE 子句中有什么作用?)
        • <bdo id='GyVLv'></bdo><ul id='GyVLv'></ul>
          <legend id='GyVLv'><style id='GyVLv'><dir id='GyVLv'><q id='GyVLv'></q></dir></style></legend>

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

                <tfoot id='GyVLv'></tfoot>

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

                1. 本文介绍了Oracle:“(+)"在 WHERE 子句中有什么作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在我们正在迁移的基于 Oracle 的应用程序中发现以下内容(通用):

                  Found the following in an Oracle-based application that we're migrating (generalized):

                  SELECT
                      Table1.Category1,
                      Table1.Category2,
                      count(*) as Total,
                      count(Tab2.Stat) AS Stat
                  FROM Table1, Table2
                  WHERE (Table1.PrimaryKey = Table2.ForeignKey(+))
                  GROUP BY Table1.Category1, Table1.Category2
                  

                  (+) 在 WHERE 子句中有什么作用?我以前从未见过这样使用它.

                  What does (+) do in a WHERE clause? I've never seen it used like that before.

                  推荐答案

                  根据="的哪一侧,(+) 在,它表示 LEFT OUTER 或 RIGHT OUTER 连接(在这种情况下,它是左外连接)这是旧的 Oracle 语法,有时会被最先学习它的人更喜欢,因为他们喜欢这样可以缩短他们的代码.

                  Depending on which side of the "=" the "(+) is on, it denotes a LEFT OUTER or a RIGHT OUTER join (in this case, it's a left outer join). It's old Oracle syntax that is sometimes preferred by people who learned it first, since they like that it makes their code shorter.

                  为了可读性,最好不要使用它.

                  Best not to use it though, for readability's sake.

                  这篇关于Oracle:“(+)"在 WHERE 子句中有什么作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Oracle PL/SQL - Raise User-Defined Exception With Custom SQLERRM(Oracle PL/SQL - 使用自定义 SQLERRM 引发用户定义的异常)
                  Oracle: is there a tool to trace queries, like Profiler for sql server?(Oracle:是否有跟踪查询的工具,例如用于 sql server 的 Profiler?)
                  SELECT INTO using Oracle(使用 Oracle SELECT INTO)
                  How to handle Day Light Saving in Oracle database(如何在 Oracle 数据库中处理夏令时)
                  PL/SQL - Use quot;Listquot; Variable in Where In Clause(PL/SQL - 使用“列表Where In 子句中的变量)
                  Oracle: Import CSV file(Oracle:导入 CSV 文件)
                    <tbody id='SPtIk'></tbody>
                      • <legend id='SPtIk'><style id='SPtIk'><dir id='SPtIk'><q id='SPtIk'></q></dir></style></legend>
                      • <tfoot id='SPtIk'></tfoot>

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

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

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