给个示例? 按表中指定的某几个字段值进行区分 select a.* from a where a.id not in (select id from b) insert into des_table select * from database1.dbo.table1 a where not exsits (select 1 from database2.dbo.table2 where col1= a.col1 and col2=a.col2 and...) union all select * from database2.dbo.table2 b where not exsits (select 1 from database1.dbo.table1 where col1= b.col1 and col2=b.col2 and...) up… 三楼,效率如何啊,我这可是1000多万数据啊 全1000多万要什么效率? 等结果出来就好了,难到你经常用这个? 7楼你没有明白我的意思,我不是说经常用,我就是用一次,如果结果出来要很长时间,比如几天什么的,那肯定很麻烦了啊,呵呵
rs.open "select * from guide where city_name='北京' order by pai desc",conn,1,1 do while not rs.eof or rs.bof 。。 。。 。。 rs.movenext loop 这个sql语句在wap站里 本身有 ......