0
我打開了一個到我的模式的連接,我想查看一個表。Oracle SqlDeveloper使用SELECT查詢表不會返回任何內容
爲什麼它本身並不這項工作:
select * from mytable;
但這並不:
-- other statements above
begin
insert into mytable(id, name) values (2, "George");
exception ...
end;
select * from mytable;
這將返回什麼。沒有給出查詢輸出。相反,我看到的是「任務在0.016秒內完成」。
如果我重新啓動的SQLDeveloper和只運行開始/結束和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:
如果整個代碼塊被封裝在開始/結束處怎麼辦? – user1636922
這取決於你想達到的目標。 –