首先on commit preserve rows 和 on commit delete rows 都是在oracle 创建临时表时用到的,

delete rows用于事务相关,也就在事务结束后truncate data in the temporary table.
preserve rows表示在会话结束后清除临时表的数据

前者在事务提交后数据就已经清除了.
后者在会话中止时或者导常退出时数据都会被清除掉.
posted on 2017-09-14 17:33  Tomatoes  阅读(1163)  评论(0编辑  收藏  举报