insert /*+ append*/ into table1 select * from table2
insert /*+append*/ into tab_acctcust select * from tab_acctcust where rownum<2
第一次插入无错误,如果我先不commit再重复插入一次,则发生如下错误:
ORA-12838错误:无法在并行模式下修改之后读/修改对象
/*+ APPEND */会锁表,不能并发执行,只适合批量数据导入
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24805255/viewspace-721376/
,如需转载,请注明出处,否则将追究法律责任。