sql_select="select T2.code,T2.money from T2,T1 where T1.CODE<>T2.CODE"
...
rs.open sql_select,conn,1,3
do while not rs.eof
sql_insert="insert into T1 (code,money) values ('"&rs(0)&"','"&rs(1)&"')"
conn.execute(sql_insert)
rs.movenext
loop
rs.close
set rs=nothing
conn.close
set conn=nothing作者: v九天〓云龙 时间: 2009-12-27 06:06
sql_select="select T2.code,T2.money from T2,T1 where T1.CODE<>T2.CODE"
这句查不到东西啊?显示..eof or bof..........