Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Foreign keys.
In article <93ik5h$hod$1_at_nnrp1.deja.com>,
vdolt_at_my-deja.com wrote:
> Is there a way to find out all the foreign keys pointing to specific
> table? I am trying to drop it, and referential integrity won't let me.
> Thanks.
>
> Sent via Deja.com
> http://www.deja.com/
>
There are several choices:
Oracle's DBAStudio shows tables and constraints.
There are several views -->>
all_cons_columns, all_constraints, user_cons_columns user_constraints dba_cons_columns, dba_constraints
should have the data. Look in the Oracle8i Reference, chapter 2 Static Data Dictionary Views.
Many 3rd party tools like SQLProgrammer or TOAD or SQLNavigator will display this information.
-- Michael Krolewski Rosetta Inpharmatics mkrolewski_at_rii.com Usual disclaimers Sent via Deja.com http://www.deja.com/Received on Wed Jan 10 2001 - 15:46:25 CST