oracle on commit delete rows 和on commit preserve rows的区别

来源:互联网 发布:游戏程序员面试 编辑:程序博客网 时间:2024/05/01 00:11
文档讲此二者皆用于temporary table,
delete rows用于事务相关,也就在事务结束后truncate data in the temporary table.
preserve rows表示在会话结束后清除临时表的数据


前者在事务提交后数据就已经清除了.
后者在会话中止时或者导常退出时数据都会被清除掉.
0 0
原创粉丝点击