数据库结构: 表内的数据: 自定义函数: 递归查出 树下所有节点 ,参数是 父idcreate function sss(id as int)returns t table(id int not null,name int not null,pid int null)asbegindeclare lay as int;insert into t select * from tree where pid id;select lay min(id) …
我们都知道MOSS 2010里面的“我的网站”里面有一个上传照片功能,通过那里用户可以方便的上传自己的照片。也可以通过在AD里面上传用户的头像,通过MOSS的 User Profile Service Application 服务进行同步,实现MOSS,Outlook,Lync 头像的统一管理…