2011年3月31日
摘要: 获得所有user以及相关personfn_User_GetAllUserPerson with userSectorCte(userid, sectorid) as ( select u.id, us.SectorId from [User] u inner join User_Sector us on us.UserId = u.id where u.Validity = 1 and u.Level = @UserLevel UNION ALL SELECT userid,s.Id FROM Sector s INNER JOIN userSectorCte us ON us.sector 阅读全文
posted @ 2011-03-31 17:09 鱼不爱水 阅读(115) 评论(0) 推荐(0)