--注意字段的对应
insert 目的表(col1,col2,col3)
select col1,col2,col3 from 原表 where 主键 not in (select 主键 from 目的表)

解决方案 »

  1.   

    --注意字段的对应
    insert 目的表(col1,col2,col3)
    select col1,col2,col3 from 原表 where 目的表主键对应的字段  not in (select 主键 from 目的表)
      

  2.   

    insert 另一表 select * from 表
      

  3.   

    如果结构不同:insert 另一表 (列1,列2) select 列1,列2 from 表
    如果要拷贝一个表:select * into 新表名 from 表
      

  4.   

    insert 目的表(col1,col2,col3,...)
    select col1,col2,col3,...除主键外 from 原表
      

  5.   

    insert into 目的表名(col)select (col) from 源表名
      

  6.   

    如果你源有在主键列重复的记录,我想会漏的,因为主键不允许重复。
    你可以用:select * into table_name from 源表,就没问题了。