insert into table select * fr

解决方案 »

  1.   

    错了!!!!!!!!是select * into newtable from OLDTABLE where 。。
      

  2.   

    对,记录集更多的适于用在表的普通操作,其他的最好是用SQL方式
      

  3.   

    如果表2已经存在,把表1中的记录加到表2中的语句:insert into 表2 (字段1,字段2,...) select 字段1,字段2,.. from 表2 where ...如果表2不存在,则用下面的语句会自动生成表2,字段的类型和表1一样:
        select 字段1,字段2,.. INTO 表2 from 表1 where ...
      

  4.   

    select * into as newtable from OLDTABLE where