ASP调用存储过程的技巧

上传:ZoeyZY 浏览: 8 推荐: 0 文件:PDF 大小:24.06KB 上传时间:2021-02-01 20:48:58 版权申诉
1、最简单的如下 Dim objConn Set objConn = Server.CreateObject(“ADOBD.Connection”) objConn.Open Application(“Connection_String”) ‘Call the stored procedure to increment a counter on the page objConn.Execute “exec sp_AddHit” 没有参数,没有返回,没有错误处理,就是这个了 2、带参数的一种调用 objConn.Execute
上传资源
用户评论