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作者: 云-飘天涯 时间: 2010-1-16 03:48
sql_select="select T2.code,T2.money from T2,T1 where T1.CODE<>T2.CODE"
这句查不到东西啊?显示..eof or bof..........