Re: constraints and foreign keys

From: Tim Taylor <ttaylor_at_us.oracle.com>
Date: 1996/09/04
Message-ID: <322E32A0.30FA_at_us.oracle.com>#1/1


maevans wrote:
>
> I've got several referencial constraints attached to tables. How do I
> get the table name and column name of the the constraint for a particular
> table? I'm sure its simple but it eludes me...

Try querying the user_constraints view. I'll thinkg you'll find what you are looking for.

Tim

-- 
+-----------------------------------------------------------------------+ 
|Timothy E. Taylor				Oracle Government       | 
|Staff Sales Consultant				3 Bethesda Metro Center | 
|Internet:	ttaylor_at_us.oracle.com		Suite 1400              | 
|Office:	301-907-2395			Bethesda, MD 20814      | 
|Fax:		301-657-0037                                            | 
+-----------------------------------------------------------------------+ 
| 	They teach you to fix what needs to be broke (P.W., 1993)	| 
+-----------------------------------------------------------------------+
Received on Wed Sep 04 1996 - 00:00:00 CEST

Original text of this message