再问个有关问题,顺便讨个笨点的人看得懂的教程
再问个问题,顺便讨个笨点的人看得懂的教程
create function getCountChild(@PFID int)
returns int
as
begin
return(select COUNT(*) from forum_t where iPFID=@PFID)
end
这东西在数据库里怎么调用,在asp中又怎么用
------解决方案--------------------
select dbo.getCountChild(100)
create function getCountChild(@PFID int)
returns int
as
begin
return(select COUNT(*) from forum_t where iPFID=@PFID)
end
这东西在数据库里怎么调用,在asp中又怎么用
------解决方案--------------------
select dbo.getCountChild(100)