语句|执行利用err对象:
sql="insert into table(f1,f2) values('v1','v2')"
conn.execute sql
if err.number<>0 then
response.write "出错了:"& err.description err.clear
else
response.write "OK"
end if
判断SQL语句是否执行成功
80酷酷网 80kuku.com