Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Does anyone have a script to display hierarchy of tables starting with a specific one

Re: Does anyone have a script to display hierarchy of tables starting with a specific one

From: <sriniv79_at_my-deja.com>
Date: 2000/03/17
Message-ID: <8au36s$qp$1@nnrp1.deja.com>#1/1

This is just a related FYI..
In DB2 you get what they call 'Table Expressions' aka 'With' clause. Using this, you can write a recursive sql query that can give you the hierarchy you need.

Srini Venigalla

In article <n3dA4.41$585.157570_at_news.magma.ca>, "Eric" <ebektech_at_videotron.ca> wrote:
> based on the fk-pk relationship...
>
> example:
> employee
> dept
> store
> marital_status
> address
> country
> .
> .
> .
>
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Mar 17 2000 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US