Can't find txt / Foreign key constraint fails
Posted by:
Angel
Date: April 17, 2005 02:27PM
If I put this:
load data local infile 'c:\data.txt' into table coaches
fields terminated by ',' lines terminated by '\r\n';
I get this:load data local infile 'c:\data.txt' into table coaches
fields terminated by ',' lines terminated by '\r\n';
If I put this:
load data infile'data.txt' into table coaches
fields terminated by ',' lines terminated by '\r\n';
I get this: Cannot add or update a child row: a foreign key constraint fails
..Any Ideas? Just trying to finish my last programming class.. Thanks :(
Subject
Written By
Posted
Can't find txt / Foreign key constraint fails
April 17, 2005 02:27PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.