如何将结果集保存到一个临时表中? 在vfp中,可以使用select * from tab into dbf temp将结果集存放在临时表中,请问,在oracle中怎么实现? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 create global temporary table dbf()on commit preserve rows;insert into dbf select * from tab; 与我表达的意思不同,我的意思是:如何在oracle环境下,将select * from tab where ....返回的记录保存到一个实际的表中,要求在下次登陆数据库时该表仍存在,并可以使用其中包含的数据 create table 表名as select * from tab where ... 可以用:create global temporary table mytableas select * from tab where ... sql分类汇总语句的查询,怎么样才是对的呢? oracle的两个控制文件不一致 update语句慢 奇怪的存储过程问题,谢谢 sql统计的问题 oo4o如何一次插入多条记录? 查询可以,但写成过程就出错。创建过程失败…… Redhat linux9安装oracle9i时进度停止 oracle 编译没错 test时出错 求大神帮忙看看 求救!在线等 谢谢各位大神了!! ???菜鸟刚学oracle,以前用sqlserver的时候给一个字段设成datetime类型,再给他的默认值写成getdate(),就可以自动记录这条记录入库的 关于Oracle中Commit的用法
)
on commit preserve rows;insert into dbf select * from tab;
如何在oracle环境下,将select * from tab where ....返回的记录保存到一个实际的表中,要求在下次登陆数据库时该表仍存在,并可以使用其中包含的数据
as select * from tab where ...
create global temporary table mytable
as select * from tab where ...