![]() |
#2
happynight2008-06-13 13:39
|
我写了个简单的存储过程 如下:
CREATE PROCEDURE product_info
@inID int
AS
select id,categoryid,category from CATEGORY where id=@inID
GO
但是调用时没有任何反应,是什么原因?
调用方式如下
dim myid
myid=2
response.write "myid="&myid&"<br/>"
strsql="product_info"&myid
set rs=conn.execute(strsql)
response.write "ID:"&rs(0)&" | "&"名称:"&rs(1)
rs.close
set rs=nothing