
在asp程序中使用sqlserver存储过程是常见的事,主要的作用是提高程序运行的时间,这里介绍一下调用不同类型的存储过程的方法。一、最简单的调用<%DimobjConnSetobjConn=Server.CreateObject("ADOBD.Connection")objConn.OpenApplication("Connection_String")'CallthestoredproceduretoincrementacounteronthepageobjConn.Execute"execsp_AddHit"%>没有参数,没有返回,没有错误处理,就是这个了...