标签:io ar on 数据 as table rom user select
会话级临时表
create global temporary table tmp1
on commit perserve rows
as select * from emp;
会话结束时表内的数据清空,表结构还存在。
事务级临时表
create global temporary table tmp2
as select * from emp;
事务结束后,表内数据清空。
查看临时表:
select table_name,temporary,duration from user_tables;
标签:io ar on 数据 as table rom user select
原文地址:http://www.cnblogs.com/wangyameng/p/4157548.html