查找递归表结构的父节点下所有子节点
摘要:        
表结构CatalogID Name ParentID创建临时表#tempNodeID Level存储过程:Declare @subCount intDeclare Declare@subCountintDeclare@Levelwhile@subCount>0begininsertinto#temp(ID,Level)SelectID,@Level+1from...    阅读全文
        posted @ 2004-11-19 11:15 一望无际的南 阅读(1696) 评论(0) 推荐(0)
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号