select * from fun_oaBBS_typeTree_GetAllParents(@nodeId) return end
--table:oaBBS.Type --function:获取类型树中指定节点的一级子节点. --author:winlin --date:2006-10-24 ALTER function dbo.fun_oaBBS_typeTree_GetChildrens ( @nodeId int ) --返回指定节点的所有子节点. returns @nodes TABLE (tid int) AS begin insert into
来源:
|