查询为什么造成死机了?
代码如下:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<%
Set MyConn=Server.CreateObject("ADODB.Connection")
connstr = "DBQ="+server.mappath("monratetab.mdb")+";DRIVER={Microsoft Access
Driver (*.mdb)}; "
MyConn.Open connstr
Set rs=MyConn.Execute("SELECT * FROM dqbh")
%>
<body bgcolor="#FFFFFF">
<table width="75%" border="1">
<%while not(rs.eof)%>
<tr>
<td><%response.write(rs("bdwbh"))%></td>
<td><%response.write(rs("dqbh"))%></td>
<td><%response.write(rs("dqm"))%></td>
</tr>
<%wend%>
<%
rs.close
Myconn.close
%>
</table>
</body>
</html>
在浏览器中打开时服务器(NT 4)硬盘灯立即快速持续闪亮,几分钟后报出虚拟内存不足,为什么?
其中表名,字段名均无错误。