这段代码让CPU高达70%?
这是一段可进行整个字段清空替换的ASP代码。这段代码让CPU高达70%?为什么?如何解决?<%
newurl=trim(request("newurl"))
oldurl=trim(request("oldurl"))
set rs=server.createobject("adodb.recordset")
sqltext="select * from users2 where id=1 "
rs.open sqltext,conn,3,3
rs("oldurl")=trim(request("newurl"))
rs.update
rs.close
response.write "<p align=center>"
response.write "数据"
response.write oldurl
response.write "清空,默认为1从新开始:"
response.write newurl
response.write "<br><br>"
set rs=server.createobject("adodb.recordset")
sqltext="select * from users2 order by id "
rs.open sqltext,conn,3,3
do while not rs.eof
rs("question3")=Replace(rs("question3"),oldurl,newurl)
rs.update
Rs.moveNext
loop
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect "index.asp"
%>