全部回滚?
看你的代码怎么写了。默认这样会回滚。create table terror(a int);
/create or replace procedure error(a in varchar2)
as
begin
insert into terror values(9999);
insert into terror values(a);
end;
/exec error('xx');
/
select * from dali.terror;
/
看你的代码怎么写了。默认这样会回滚。create table terror(a int);
/create or replace procedure error(a in varchar2)
as
begin
insert into terror values(9999);
insert into terror values(a);
end;
/exec error('xx');
/
select * from dali.terror;
/
我就是怕有什么其他的原因会造成数据提交 .我在过程里没有写COMMIT,也没有ROLLBACK。句这样写的。
呵呵,看到了神仙!
默然是回滚的。