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

Home -> Community -> Usenet -> c.d.o.misc -> Re: parent/child rel.

Re: parent/child rel.

From: sim <jmenker_at_muenster.de>
Date: 22 Mar 2006 04:14:56 -0800
Message-ID: <1143029696.827605.175180@i39g2000cwa.googlegroups.com>


You could use something like this one:

SELECT DISTINCT A.TABLE_NAME KIND,
       B.TABLE_NAME PAPA
FROM USER_CONSTRAINTS A,
       USER_CONSTRAINTS B

WHERE  A.R_CONSTRAINT_NAME = B.CONSTRAINT_NAME(+)
AND    B.TABLE_NAME = 'T_TRYL'
AND    A.TABLE_NAME != B.TABLE_NAME

Regards,

Jörg Received on Wed Mar 22 2006 - 06:14:56 CST

Original text of this message

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