Another option: make constraint DEFFERABLE and INITIALLY DEFFERED (if i
spelled this correctly)
In that case inforcement is done on the moment of commit.
There is some limitations, however. PK must be base on a non-unique index in
order to be defferable.
But all FK should be fine.

HTH,
--
Alexandre
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 11:49 AM


> you might want to "disable" the FK's before loading.
> This will speed up the loading, and it will not upset
> you with ugly error messages.  After loading... enable
> keys.
>
> Keith
>
> Date: Mon, 03 Jun 2002 15:28:22 -0800
> To: "Multiple recipients of list ORACLE-L"
> <[EMAIL PROTECTED]>
> Reply-to: [EMAIL PROTECTED]
> Organization: Fat City Network Services, San Diego,
> California
>
>
>
> It is probably a question of timing when Child records
> are loaded before Parents. It can be a question of
> table order or even record order (self referencing
> relationship). Once the data is loaded, enforcement of
> the constraint is easy because all of the data exists.
>
> Daniel W. Fink
> Sr. Oracle DBA
> MICROMEDEX
> 303.486.6456
>
> -----Original Message-----
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 4:13 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Okay guys,
>
> Have foreign keys defined on large dw tables.  When
> loading get foreign key errors.  However, after load
> (w/o change in data and supposedly data it was barking
> on) could create fk's just fine on the same data
> elements involving the same data - I SWEAR.  This does
> not make sense to me.  Any ideas?
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Keith Peterson
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Alexandre Gorbatchev
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to