标签:io ar rom 递归 select c on ant
with myCte as
(
select * from RS_Comment where id=10000004
union all
select RS_Comment.* from RS_Comment
inner join myCte on RS_Comment.ParantID=myCte.id
)
select * from myCte
标签:io ar rom 递归 select c on ant
原文地址:http://www.cnblogs.com/huweijun/p/3880096.html