PLS-00103: Encountered the symbol "" when expecting one of the following
来源:互联网 发布:淘宝全民疯抢在哪里 编辑:程序博客网 时间:2024/06/06 07:09
今天碰到执行PL/SQL块报错,根据错误提示是提交给oracle的sql(过程和函数)写法不符合oracle的标准。分析得出是块中有不明字符,将空格部分去掉即可。
SQL> declare
2 type numbers is table of number;
3 n numbers := numbers();
4 begin
5 n.extend;
6 n(1) := 2;
7 n.extend;
8 n(2) := 3;
9 for i in 1 .. n.count loop
10 dbms_output.put_line(n(i));
11 end loop;
12 end;
13 /
declare
type numbers is table of number;
n numbers := numbers();
begin
n.extend;
n(1) := 2;
n.extend;
n(2) := 3;
for i in 1 .. n.count loop
dbms_output.put_line(n(i));
end loop;
end;
ORA-06550: line 3, column 2:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
<an identifier> <a double-quoted delimited-identifier> form
current cursor
SQL> declare
2 type numbers is table of number;
3 n numbers := numbers();
4 begin
5 n.extend;
6 n(1) := 2;
7 n.extend;
8 n(2) := 3;
9 for i in 1..n.count loop
10 dbms_output.put_line(n(i));
11 end loop;
12 end;
13 /
PL/SQL procedure successfully completed
- PLS-00103: Encountered the symbol "" when expecting one of the following
- PLS-00103:Encountered the symbol "EXIT" when expecting one of the following:.( ,%
- 存储过程 编译错误:PLS-00103: Encountered the symbol "TABLE" when expecting one of the following:
- PLS-00103: Encountered the symbol "CREATE"
- PLS-00103: Encountered the symbol "CREATE"
- Which of the following statements describe the result when standard new CANNOT allocate the requeste
- The given filter instance must implement one or more of the following filter interfaces
- Question 11: Which of the following statements describe the result when standard new cannot allocate the requested storage in C+
- Which of the following expression(s) will NOT cause an error when used to replace the ***** in the C
- 上传苹果应用 At least one of the following architecture(s) must be present: armv6 (-19033)
- this product is covered by one or more of the following
- Git: The following paths are ignored by one of your .gitignore files: xxx.dll
- Encountered "lili" at line 26, column 12. Was expecting one of: <NEWLINE>
- One of the MulticastTest
- Question 25: For the code snippet below, which of the following statements provide the correct order of constructor calls when o
- Schedule of the following week(9.24~9.30)
- ERROR The requested URL could not be retrieved The following error was encountered
- 笔记本开机循环显示:this product is covered by one or more of the following patents 解决办法
- myeclipse-8.6M1-win32注册
- 很好的冒泡提示功能
- Apple公司Darwin流式服务器源代码分析
- 基于hadoop的海量数据挖掘的开源解决方案
- VS2008 如何添加H文件目录和LIB目录
- PLS-00103: Encountered the symbol "" when expecting one of the following
- ubuntu上QT程序在fedora上运行
- Myeclipse配置jre&Tomcat配置jdk
- Apple公司Darwin流式服务器源代码分析
- 无法安装或运行此应用程序。该应用程序要求首先在“全局程序集缓存(GAC)”...问题解决
- 网站分析实战——如何以数据驱动决策:提升网站价值
- Linux 查看CPU信息、机器型号等硬件信息
- 查看centos系统内核版本,32位还是64位
- Creating the Oracle GoldenGate instance【每日一译】--20130114