这个求最大ID号的存储过程怎么就不输出显示呢??就一句话吧.....
create proc maxid@maid int output
as
begin
select top 1 @maid=id from info order by id desc
end
go
前台调用:
Dim adoComm
Set adoComm = CreateObject("ADODB.Command")
With adoComm
.ActiveConnection =Conn
.CommandType = 4
.CommandText = "maxid"
.Execute
response.write (.Parameters.Item("@maid").ValueEnd)
With
Set adoComm = Nothing
这个那有错??我看就十分的对嘛,嘿嘿,不过肯定是错了,谁帮帮一下,谢了