Re: Disabling constraints in 7.1.6 doesn't appear to work
Date: 1996/02/22
Message-ID: <4ggnhn$6ik_at_zippy.cais.net>#1/1
Brian M. Biggs (bbiggs_at_cincom.com) wrote:
: Is Oracle supposed to work this way? I would think that if the
: I have found an interesting situation in Oracle 7.1.6.2 on HP-UX. It
: seems that even though you disable a foreign key constraint on a table,
: you are still unable to drop the parent table to which that constraint
: referred. You must actually DROP the foreign key constraint (not just
: DISABLE it) before you can DROP the parent table.
: constraint is disabled, you should be able to do anything to the parent
: table. So even though the SQL manual says that disabling a foreign key
: constraint prevents Oracle from enforcing it, Oracle must still prevent
: you from DROPping the table as long as the constraint exists, enabled or
: disabled. I can kind of see how this might make sense, but at the same
: time, if the constraint is disabled, Oracle should ignore it. You
: shuold only get an error when you try to enable the constraint because
: the referenced table does not exist.
I saw the same thing on 7.1.3
I just resorted to DROPping the constraints and then recreating
them ( used 2 scripts )...
Randy :)
-- ..uu. ---------------------- .?$" '?i . I Randy DeWoolfson I .T^M ._at_" d9 . f ,.un. b, i I--------------------I " Z :#" M `8 U < .dP"``"# `M _at_" I randyd_at_cais.com I &H?` Xl _R $5. $ ?* _at_ 'P,#" I--------------------I ,d#^*L :RP'~$b f`$L:M Xf .f' dH` I ,\//. I & 'M ,P `E M "$ Mux~ n!` I |o o| I dk `h" ' j " y" *~ I====oOO==(_)==Ooo===IReceived on Thu Feb 22 1996 - 00:00:00 CET