ASP中如何执行存储过程
1.什么是存储过程?
存储过程是SQL server所提供的Tranact-SQL语言所编写的程序。
2. 如何建立存储过程?
Create PROCEDURE sp_query_info
@name1 varchar(20) ="张三"
AS
Select * from info where stu=@name1
GO
A. 编写sql语句:“execute 存储过程名 参数”,再通过connection.execute或recordset.open执行
Set objComm = Server.CreateObject("adodb.command")
objComm.CommandType = 1…