DECLARE
type strings_table is table of varchar2(10) index by binary_integer;
strings strings_table;
int number;
BEGIN
int := 1;
strings(int) := 'element1';
if strings.exists(int) then
dbms_output.put_line(strings(int));
else
dbms_output.put_line('no data!');
return;
end if;当我执行的时候就报错误
ORA-06550: 第 14 行, 第 0 列:
PLS-00103: 出现符号 "end-of-file"在需要下列之一时:
begin case declare
end exception exit for goto if loop mod null pragma raise
return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge pipe
请问是什么原因?非常感谢!
type strings_table is table of varchar2(10) index by binary_integer;
strings strings_table;
int number;
BEGIN
int := 1;
strings(int) := 'element1';
if strings.exists(int) then
dbms_output.put_line(strings(int));
else
dbms_output.put_line('no data!');
return;
end if;当我执行的时候就报错误
ORA-06550: 第 14 行, 第 0 列:
PLS-00103: 出现符号 "end-of-file"在需要下列之一时:
begin case declare
end exception exit for goto if loop mod null pragma raise
return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge pipe
请问是什么原因?非常感谢!
解决方案 »
- sqlserver2000 java.lang.NullPointerException
- 欢迎加入java高级群:84459794 给你进来的理由
- 为什么我的JSP得不到提交表单的内容
- jstl ${}中时间格式怎样转换
- 请问JSP中如何点击一个链接或发生一个事件使得本页面iframe中链接的一个页面里的表单值发生变化?
- 怎么将密码自动发送到对方邮箱
- 求一个将RESIN3.1.2加入Myeclipse 6.0中的方法和配置文件数据库用得是SQL 2005
- JSP如何在2000中设置!
- SCJP 考试的问题
- 是Java和Oracle的高手过来看一下(关于OracleJDBC数据库连接池问题)?
- 请教高手一个播放器url认证的问题
- 求用JSP做的论坛投票板块
是不是这样啊?
else{
dbms_output.put_line('no data!');
return;}
end if;
type strings_table is table of varchar2(10) index by binary_integer;
strings strings_table;
int number;
BEGIN
int := 1;
strings(int) := 'element1';
if strings.exists(int) then
dbms_output.put_line(strings(int));
else
dbms_output.put_line('no data!');
return;
end if;
COMMIT;END;