select * into b..table from a..table 

解决方案 »

  1.   

    create view v_test
    as
    select 字段1,字段2,字段3...  from table1 where ...goselect * from v_test
      

  2.   

    select col1,col2,... into b..table from a..table OR:insert 库名..你现在的表名 (col1,col2,...)
      select col1,col2,... from 库名..原来的表
      

  3.   

    insert 库名..你现在的表名 (col1,col2,...)
      select col1,col2,... from 库名..原来的表
    要求字段类型和长度一致。
    select col1,col2,... into b..table from a..table 
    b..table 是新建的表与a..table 一致的。