NC65 sql server实现类似于Oracle中start with……connect by prior……的递归查询方法
NC65sqlserver实现类似于Oracle中startwith……connectbyprior……的递归查询方法查询树型结构某节点的所有上级根节点--查询树型结构某节点的所有上级根节点witheps_root(pk_eps,pk_parent,eps_code,eps_name)as(SELECTpk_eps,pk_parent,eps_code,eps_nameFROMpm_epswher