<tfoot id='PHdc2'></tfoot>

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

      • <bdo id='PHdc2'></bdo><ul id='PHdc2'></ul>
    2. <legend id='PHdc2'><style id='PHdc2'><dir id='PHdc2'><q id='PHdc2'></q></dir></style></legend>

      1. 如何在 Oracle SQL Developer 中使用变量?

        How do I use variables in Oracle SQL Developer?(如何在 Oracle SQL Developer 中使用变量?)
      2. <tfoot id='ExWkM'></tfoot>

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

                <tbody id='ExWkM'></tbody>

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

                  本文介绍了如何在 Oracle SQL Developer 中使用变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  以下是在 SQL Server 2000 中使用变量的示例.

                  Below is an example of using variables in SQL Server 2000.

                  DECLARE @EmpIDVar INT
                  
                  SET @EmpIDVar = 1234
                  
                  SELECT *
                  FROM Employees
                  WHERE EmployeeID = @EmpIDVar
                  

                  我想使用 SQL Developer 在 Oracle 中做完全相同的事情,而不会增加额外的复杂性.这似乎是一件非常简单的事情,但我找不到简单的解决方案.我该怎么做?

                  I want to do the exact same thing in Oracle using SQL Developer without additional complexity. It seems like a very simple thing to do, but I can't find a simple solution. How can I do it?

                  推荐答案

                  我使用的是 3.2 版的 SQL-Developer.其他东西对我不起作用,但这对我有用:

                  I am using the SQL-Developer in Version 3.2. The other stuff didn't work for me, but this did:

                  define value1 = 'sysdate'
                  
                  SELECT &&value1 from dual;
                  

                  这也是这里介绍的最巧妙的方式.

                  Also it's the slickest way presented here, yet.

                  (如果您省略define"部分,您将被提示输入该值)

                  (If you omit the "define"-part you'll be prompted for that value)

                  这篇关于如何在 Oracle SQL Developer 中使用变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 查询中包含缺失的月份)

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

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

                        <tfoot id='pDUlX'></tfoot>

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