Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'
[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
这是什么错误,怎样解决?
...全文
434打赏收藏
数据连接问题,waiting online?
Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt 这是什么错误,怎样解决?
就是用asp写的代码
用的事sql server 7.0
一个表被打开了,然后再打开表的循环里,直接用connection对打开的表执行一个update语句
sql = "select * from tempaffairtask where trgid = "&affid &" and popid="&popid
trs.open sql,conn,1,1
do while not trs.eof
sql = trs("TrgCodition")
ers.Open sql & " and epop.popid ="& popid ,conn,1,1
if not ers.EOF then
ifexist =true
conn.Open "update tempaffairtask set beactive = 0 where affairid = "& trs("affairid") & " and popid ="&popid
end if