Oracle向下递归查询

来源:互联网 发布:新手如何装修淘宝店铺? 编辑:程序博客网 时间:2024/06/06 02:11
                                                        String sqllsq="select t.resourcetypecode "
+" from CODE_RES_MATERIALTYPE t "
+" start with t.resourcetypecode='"+rt.getResourcetypecode()+"' "
+" connect by prior t.resourcetypecode = t.parentcode ";
0 0