For this type of custom loading you may want to explore a programming
language such as Java or C/C++ or Perl. Depending on your platform you could
even explore some third party tools.

-----Original Message-----
From: sean c peters
To: [EMAIL PROTECTED]
Sent: 8/4/04 3:27 PM
Subject: load data infile question

I haven't used load data infile much, mainly because of issues like this

question. I want to load a bunch of data for our data warehouse into
about 10 
different tables. But when I load a parent table, an auto_increment
column 
autogenerates a value that will be a foreign key in a child table. So i
cant 
create the file to load into the child table until after the parent
table has 
been loaded. Then i'll need to get back all the auto increment values
just 
created, and put them into the load file for the child tables. 
Is this how it has to be, or am i missing something?

thanks much
sean peters
[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to