insert 表a select * from 表b

解决方案 »

  1.   

    insert 目标表 (列1,列2) select (列1,列2) from 源表 where 条件
      

  2.   

    1,insert into tableA select * from tableB2insert into TableA(col1,col2....)
       select cast(col1 as int),case....end,..... from tableB
      

  3.   

    可以选择
    开始/程序/Microsoft sql server/导入和导出数据
    很方便。
      

  4.   

    差不多了,数据导入导出后来还是SQL语句,一样的。
      

  5.   

    请问哪个存储过程有DTS功能?写出。
    我只知道BCP可以进行导入。