在vfp中,可以使用select * from tab into dbf temp将结果集存放在临时表中,
请问,在oracle中怎么实现?

解决方案 »

  1.   

    create global temporary table dbf(
    )
    on commit preserve rows;insert into dbf select * from tab;
      

  2.   

    与我表达的意思不同,我的意思是:
    如何在oracle环境下,将select * from tab where ....返回的记录保存到一个实际的表中,要求在下次登陆数据库时该表仍存在,并可以使用其中包含的数据
      

  3.   

    create table 表名
    as select * from tab where ...
      

  4.   

    可以用:
    create global temporary table mytable
    as select * from tab where ...