如把table2中的e,f,g 字段 导到table1中的 a,b,c 字段上.    这样写错在哪里了
   insert into table1(a,b,c) select e,f,g from table2哪位大哥教一下  谢谢了

解决方案 »

  1.   

    先要保证类型是兼容的
    insert into table1(a,b,c) select e as a,f as b,g as c from table2
      

  2.   

    复制表格中的数据及表结构:Select * Into Table2 From Table1只复制表结构:Select * Into Table2 From Table1 Where 1 = 2
      

  3.   

    select e,f,g into table1(a,b,c) from table2
      

  4.   

    select e,f,g into table1(a,b,c) from table2
     保证你的 字段结构相同哦
    不然出错