再问个问题,顺便讨个笨点的人看得懂的教程
create function getCountChild(@PFID int)
returns int
as
begin
return(select COUNT(*) from forum_t where iPFID=@PFID)
end
这东西在数据库里怎么调用,在asp中又怎么用
[解决办法]
select dbo.getCountChild(100)
发布时间: 2012-02-21 16:26:23 作者: rapoo
再问个问题,顺便讨个笨点的人看得懂的教程
create function getCountChild(@PFID int)
returns int
as
begin
return(select COUNT(*) from forum_t where iPFID=@PFID)
end
这东西在数据库里怎么调用,在asp中又怎么用
[解决办法]
select dbo.getCountChild(100)