摘要: 1 CREATE PROCEDURE [dbo].[GetTree] 2 @Id int 3 AS 4 BEGIN 5 with cte as 6 ( 7 select Id,Pid,Name,0 as lvl from Entity 8 where Id = @Id 9 union all 10 ... 阅读全文
posted @ 2017-11-01 23:15 Rick Sun 阅读(1604) 评论(0) 推荐(0) 编辑