with ChildMenu as(
select * from MemberMenu where MenuId='F31E3D26-BB08-42C0-A171-EF62243A94C6'
union all
select MemberMenu.* from MemberMenu inner join ChildMenu on MemberMenu.ParMenuId=ChildMenu.MenuId
)

select *  from ChildMenu

posted on 2011-12-06 10:57  @清风......  阅读(347)  评论(0编辑  收藏  举报