ORA-02050: 事务处理 9.17.23660 已回退, 某些远程数据库可能有问题 ORA-02051: 同一事务处理中的另一会话或分支失败或已完成 |
create global temporary table xx as select * from x where 1=2; insert into xx select * from x@remote; insert into x select * from xx; --以上三步都成功,并且都能插入正确的记录数 commit; --ORA-02050/ORA-02051错误再度出现 |
create table xx as select * from x where 1=2; insert into xx select * from x@remote; insert into x select * from xx; --以上三步都成功,并且都能插入正确的记录数 commit; --这次这步也成功了 delete from xx; commit; --已成功删除普通临时表里的数据。 |
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29867/viewspace-775178/,如需转载,请注明出处,否则将追究法律责任。