用pl/sql block加上exception控制create or replace procedure test_proc is
....
begin
begin -- pl/sql block开始
insert into d (a) (select a from b where dd=??); exception when others -- 意外控制
null;
end; -- pl/sql block结束
...
end test_proc;
/
....
begin
begin -- pl/sql block开始
insert into d (a) (select a from b where dd=??); exception when others -- 意外控制
null;
end; -- pl/sql block结束
...
end test_proc;
/
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货