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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: foreign key what???? help!!

RE: foreign key what???? help!!

From: Keith Peterson <keithpson_at_yahoo.com>
Date: Tue, 04 Jun 2002 01:49:19 -0800
Message-ID: <F001.00473304.20020604014919@fatcity.com>


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" <ORACLE-L_at_fatcity.com>
Reply-to: ORACLE-L_at_fatcity.com
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:Paula_Stankus_at_doh.state.fl.us]
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: keithpson_at_yahoo.com

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: ListGuru_at_fatcity.com (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).
Received on Tue Jun 04 2002 - 04:49:19 CDT

Original text of this message

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