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

Home -> Community -> Usenet -> c.d.o.server -> Re: alter table disable constraint

Re: alter table disable constraint

From: Naushi Hussain <naushi.hussain_at_alliedsignal.com>
Date: Tue, 06 Feb 2001 12:51:35 -0700
Message-ID: <3A8055C7.714D0E4E@alliedsignal.com>

you help will be greatly appreciated

"Howard J. Rogers" wrote:

> "Naushi Hussain" <naushi.hussain_at_alliedsignal.com> wrote in message
> news:3A802540.F4FDA1A1_at_alliedsignal.com...
> > 1) I did an alter table disable primary key cascade and it worked. Now
> > I like to enable it. Will enabling automatically recreate the FK
> > constraint?
> >
>
> No. There's no 'enable constraint cascade' syntax.
>
> > 2) Also I tried looking in dba_constraints table for the table this key
> > is a FK to. But I could not find the related table_name even in the
> > R_CONSTRAINT_NAME. How can I find the name of the (child) table where
> > the primary key of a (parent) table is a foreign key.
> >
>
> There's some fairly standard syntax that covers this -and I don't have it to
> hand. If you've been on the Backup and Recovery course, it's included in
> the Oracle course notes for that. If no-one's posted anything else by this
> evening, I'll have it for you then (it's currently 6am-ish).
>
> Regards
> HJR
>
> > will appreciate any suggestions
> >
  Received on Tue Feb 06 2001 - 13:51:35 CST

Original text of this message

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