现有10W条数据,Access数据库保存 通过正常提取: 代码如下:<% Set conn= Server.CreateObject(“ADODB.Connection”) c&Server.MapPath(“db2.mdb”) conn.Open connstr Set rs = Server.CreateObject (“ADODB.Recordset”) sql = “Select * from people order by id desc” rs.Open sql,
1. ASP与Access数据库连接: 代码如下: dim strConn dim conn strConn = “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=”+Server.mappath(“data/isp.mdb”)+”;Persist Security Info=False” set conn = Server.CreateObject(“ADODB.Connection”) 2. ASP与SQL数据库连接: 代码如下: dim co
1、备份 <% SQL=”backup database 数据库名 to disk='”&Server.MapPath(“backup”)&”\\”&”backuptext.dat”&”‘” set cnn=Server.createobject(“adodb.connection”) cnn.open “driver={SQL Server};Server=服务器名;uid=sa;pwd=” cnn.execute SQL on error resume next if err0 the