ok,understood.is there any other possibility to create recursive queries?the problem is the depth of the categories i want to analyze is different, sometimes 3 sometimes 7 or 5.if i use a equi join like thisselect a.cat_desc as level0, b.cat_desc as level1, c.cat_desc as level2, d.cat_desc as level3, e.cat_desc as level4, f.cat_desc as level5from tblCategory a, tblCategory b, tblCategory c, tblCategory d, tblCategory e, tblCategory fwhere a.cat_id = 0and a.cat_id = b.cat_parentand b.cat_id = c.cat_parentand c.cat_id = d.cat_parentand d.cat_id = e.cat_parentand e.cat_id = f.cat_parentorder by a.cat_desc, b.cat_desc, c.cat_desc, d.cat_desc, e.cat_desc, f.cat_desc;
i don't get the full depth. categories get lost because of the equi-join in the deeper levels. but i need the complete depth of the structure.any hint?