Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How can I get a list of referenced keys?
Hi,
On Fri, 12 Jun 1998 20:19:14 GMT, - haven - <haven_at_havenskys.com> wrote:
>I need to get drop this table. How can I get a list of referenced keys?
>
>So that I can drop it. I disabled all constraints that refer to it but
>no dice.
>Thanks
>
>Haven
>
>
>SQL> drop table emp_head;
SQL> drop table emp_head cascade constraints;
>drop table emp_head
> *
>ERROR at line 1:
>ORA-02266: unique/primary keys in table referenced by enabled foreign
>keys
>
grtnx,
Richard