会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
咖啡仔
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2011年12月31日
oracle 创建临时表易犯的一个错误 使用commit
摘要: 使用以下语句创建了一个全局的临时表,在提交后就会清空数据。1 create global temporary table temp_t on commit preserve rows as select * from a在使用1 execute immediate 'insert into temp_t select * from a;如果使用了 commit;数据就会清空了,我就曾因这样使用过,导致后面执行的数据老是没成功。
阅读全文
posted @ 2011-12-31 17:09 咖啡仔
阅读(455)
评论(0)
推荐(0)
编辑