Re: Recursive Query

From: dmol <dmolinier_at_gmail.com>
Date: 14 Feb 2007 10:31:44 -0800
Message-ID: <1171477904.840026.59780_at_a34g2000cwb.googlegroups.com>


On Feb 14, 10:11 am, "cvnkrishna" <vamsikrishna.chik..._at_gmail.com> wrote:
> Hi all,
>
> Oracle Version : 8.1.7.3.0
>
> Can anyone please help in creating the recursive query on the below
> table with menu_id and sub_menu_id. Connect-by is not working
[...]
> 1) For every Menu_id, Sub_menu_id can be null;
> 2) For every Menu_id, Can have many Sub_menu_id;
> 3) For every Sub_menu_id, can have many menu_id;

... and so on, w/o depth limit ?
Any chance to get to an ancestor ID (loop) ?

Shortly, is your data structure a tree, a graph ?

--
David
Received on Wed Feb 14 2007 - 19:31:44 CET

Original text of this message