摘要: with area as( select Orderid,FatherOrderid,rtrim(PartName) as NodeText,left('00',2-len(row_number() over (order by partindex)))+ CONVERT(varchar,row_number() over (order by partindex)) as d,0 as liu,op as 这列不用 from #Temp_Tree where FatherOrderid = 419197 union all select a.Orderid,a.FatherOr 阅读全文
posted @ 2014-04-10 10:11 王春天 阅读(356) 评论(0) 推荐(0) 编辑
云推荐