Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help (2nd request) with determining parent key foreign key relationship
On 8 Aug 2001 08:17:15 -0400, stanb_at_panix.com (Stan Brown) wrote:
>I posted this to comp.oraclemisc several days ago, and have recieved no
>replies. I could really use a hand here, if someone can.
>
What is it that you want help with? Finding out what is a PK and a FK? If so, look at USER_CONSTRAINTS and USER_CONS_COLUMNS views and search by table_name = '<your table>' and constraint_type in ('P','R');
Cheers
Nuno Souto
nsouto_at_optushome.com.au.nospam
Received on Wed Aug 08 2001 - 08:15:32 CDT