我在两张表之间互相用循环来复制,累的很哩。
谁帮我省点事啊?

解决方案 »

  1.   

    用TBatchmove吧C:\Program Files\Borland\Delphi5\Help\Examples\Batchmv
    C:\Program Files\Borland\Delphi5\Help\Examples\Batchmv2C:\Program Files\Borland\Delphi6\Help\Examples\Batchmv
    C:\Program Files\Borland\Delphi6\Help\Examples\Batchmv2C:\Program Files\Borland\Delphi7\Help\Examples\Batchmv
    C:\Program Files\Borland\Delphi7\Help\Examples\Batchmv2
      

  2.   

    insert into table2 select * from table1
      

  3.   

    两个数据表结构、字段都一样sql语句就搞定
    insert into table2 select * from table1