Re: Children with multiple parents

From: joel garry <>
Date: Fri, 2 Jan 2009 14:12:55 -0800 (PST)
Message-ID: <>

On Jan 2, 1:01 pm, Steve Howard <> wrote:
> Hi All,
> 64 bit Enterprise on SuSE 2.6.16
> I have been working on a small application to allow us to print a
> hierarchical list of affected systems when a change is made to another
> system.  For example, when a change is made to our storage system, we
> want a report that may look like the following...
>   DB1
>       APACHE1
>       APACHE1
>       APACHE2
>   DB2
>   DB3
>     DB2 (database link)
> I have been struggling to get this to work with a connect by prior
> structure.  I ended up writing a pipelined table function that
> provides what we need, but I am fairly sure it is not the best way to
> do this.
> Before I spend my weekend spinning my wheels, can anyone comment as to
> whether model where multiple children can be related to multiple
> parents (and vice versa) can be handled by connect by prior?  If not,
> is there a better way that jumps out at you?
> Thanks,
> Steve

To my discredit, I don't know the answer to this, but I see some possibilities by this search on asktom:
SYS_CONNECT_BY_PATH "multiple parents"


-- is bogus.
'"Running an app in a Web browser is like living without a penis."
I'm really not sure what this is supposed to mean, especially in light
of the fact that there are over three billion people on this planet
who live without penises (they're called "women", in case you haven't
heard of them), and by and large, they seem to do OK.' - Hippo Pot de
'They usually just get a penis when they want one, I guess that would
be "on demand" ;-) ' - Anonymous
Received on Fri Jan 02 2009 - 16:12:55 CST

Original text of this message