[TEST1@orcl] SQL>drop table t10;
drop table t10
*
第 1 行出現(xiàn)錯誤:
ORA-00604: 遞歸 SQL 級別 1 出現(xiàn)錯誤
ORA-01422: 實際返回的行數(shù)超出請求的行數(shù)
查看一下dual表。可能是dual表中有多行數(shù)據(jù)。刪除全部數(shù)據(jù)再插入'X'。
[SYS@orcl] SQL>select * from dual;
DU
--
X
[SYS@orcl] SQL>delete from dual;
已刪除 1 行。
[SYS@orcl] SQL>select * from dual;
DU
--
Y
[SYS@orcl] SQL>delete from dual;
已刪除 1 行。
[SYS@orcl] SQL>select * from dual;
DU
--
m
[SYS@orcl] SQL>delete from dual;
已刪除 1 行。
[SYS@orcl] SQL>select * from dual;
未選定行
[SYS@orcl] SQL>insert into dual values('X');
已創(chuàng)建 1 行。
[SYS@orcl] SQL>COMMIT;
提交完成。
[SYS@orcl] SQL>conn test1
輸入口令:
已連接。
[TEST1@orcl] SQL>drop table a;
表已刪除。
奇怪的是為什么dual表會多出兩行記錄,我并沒有插入數(shù)據(jù)。求教!