sqlite不支持
select * into 新表 from [c:\\Northwind.mdb].旧表只有这点分了,请帮忙

解决方案 »

  1.   

    这个问题估计没有答案,我现在正在一条条记录的写入,不是一般的慢.换个问题吧,假如现在有两张表A和B,A有两个字段a,b;B只有一个字段a,现在比较B和A的a字段,如果相等,则将相应的A的b字段加到表B中,请问是不是又得一条条的比较写入.UP也可以结帐。
      

  2.   

    复制B表
    select * into BCopy from B
    清空B表
    delete * from B
    将符合条件的内容复制到B表
    select * into B from select * from A where a in (select a from BCopy)
    删除BCopy表
    delete * from BCopy
      

  3.   


    将符合条件的内容复制到B表
    select * into B from A where a in (select a from BCopy)