sqlserver2005 遞歸查詢

從下往上搜索:遞歸查詢 with jdcpclCTE(zj_gch,gch,ilayer) as (    select zj_gch,gch,ilayer=1 from utmis.dbo.jdcpcl where zj_gch>''   and zj_gch='SB07334'    union all     select a.zj_gch,a.gch,ilayer=ilayer+1 fro
相關文章
相關標籤/搜索