当前位置: 移动技术网 > IT编程>数据库>MSSQL > sql server递归

sql server递归

2018年08月20日  | 移动技术网IT编程  | 我要评论

another动漫下载,潍坊奎文实验初中,人体模特徐润

with cte as
(
select belongsagent from [qpproxydb].[dbo].[bs_proxyinfo] where proxyid = @proxyid 
union all
select a.proxyid from [qpproxydb].[dbo].[bs_proxyinfo] a join cte b on a.proxyid = b.belongsagent
)
select * from cte order by belongsagent asc

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网