Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Oracle 选择子查询或创建视图中的内联函数_Oracle_Oracle Sqldeveloper_Oracle12c - Fatal编程技术网

Oracle 选择子查询或创建视图中的内联函数

Oracle 选择子查询或创建视图中的内联函数,oracle,oracle-sqldeveloper,oracle12c,Oracle,Oracle Sqldeveloper,Oracle12c,我需要一些建议,如何在选择子查询或创建视图中使用内联函数。我的代码给了我以下错误 我使用了这个,最后一个建议的解决方案正是我正在尝试的 代码: 错误: ORA-06553: PLS-103: Encountered the symbol "end-of-file" when expecting one of the following: . ( * @ % & = - + ; < / > at in is mod remainder not rem <an

我需要一些建议,如何在选择子查询或创建视图中使用内联函数。我的代码给了我以下错误

我使用了这个,最后一个建议的解决方案正是我正在尝试的

代码:

错误:

ORA-06553: PLS-103: Encountered the symbol "end-of-file" when expecting one of the following:

   . ( * @ % & = - + ; < / > at in is mod remainder not rem
   <an exponent (**)> <> or != or ~= >= <= <> and or like like2
   like4 likec between || member submultiset
06553. 00000 -  "PLS-%s: %s"
*Cause:    
*Action:
Error at Line: 4 Column: 1
ORA-06553:PLS-103:在预期以下情况之一时遇到符号“文件结束”:
. (*@%&=-+;在in处为mod余数而非rem

或者!=或者~=>=我在AskTOM上发布了这个问题,您可以在以下链接中看到整个讨论主题:


问题出在SQL开发人员身上,在SQLPlus中,此查询工作正常。

我在AskTOM上发布了此问题,您可以在以下链接中看到整个讨论线程:


问题出在SQL开发人员身上,在SQLPlus中,此查询工作正常。

请详细说明您的要求。@user75ponic,重点是我创建了此内联“with function”,我想从该函数中选择数据,如代码所示。。但我得到了上述错误,我可以在12c中重现此错误。因此,这很有趣。请详细说明您的要求。@user75ponic,重点是我创建了这个内联“with function”,我想从这个函数中选择数据,如代码所示。但是我得到了上面提到的错误。我可以在12c中重现这个错误。所以,这很有趣。
ORA-06553: PLS-103: Encountered the symbol "end-of-file" when expecting one of the following:

   . ( * @ % & = - + ; < / > at in is mod remainder not rem
   <an exponent (**)> <> or != or ~= >= <= <> and or like like2
   like4 likec between || member submultiset
06553. 00000 -  "PLS-%s: %s"
*Cause:    
*Action:
Error at Line: 4 Column: 1