发布时间:2014-05-06 14:52:11
1.第一种,事物级,当 commit以后数据就查不到了。关键字是commit delete rowsCREATE GLOBAL TEMPORARY TABLEt_temp2 ON COMMIT DELETE ROWSAS SELECT 1 AS ID FROM dual;2.第二种,会话级,退出会话以后,数据才查不到关键字comit preserve rowsCREATE GLOBAL TEMPORARY TABLEt_temp1 ON COMMIT PRESERVE ROWSAS S.........【阅读全文】