【发布时间】:2012-10-01 22:04:02
【问题描述】:
我打开了一个到我的架构的连接并且我想查看一个表。
为什么它自己会起作用:
select * from mytable;
但这不是:
-- other statements above
begin
insert into mytable(id, name) values (2, "George");
exception ...
end;
select * from mytable;
这不返回任何内容。没有给出查询输出。相反,我看到的只是“任务在 0.016 秒内完成”。
如果我重新启动 sqldeveloper 并只运行 begin/end 和 select 语句,我会收到这个错误:
Error report:
ORA-06550: line 7, column 1:
PLS-00103: Encountered the symbol "SELECT"
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
【问题讨论】:
标签: oracle plsql oracle-sqldeveloper