MySQL Forums
Forum List  »  Perl

Re: load data infile syntax
Posted by: liping yi
Date: July 20, 2010 03:39PM

in perl, the script is:
("LOAD DATA INFILE 'C:/Temp/testData.csv' INTO TABLE testSchema.test (col1,col2)
FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 1 LINES ;");

anything wrong with the columns? with this, the data can not go into table.

Options: ReplyQuote


Subject
Written By
Posted
July 20, 2010 01:46PM
July 20, 2010 02:15PM
July 20, 2010 02:25PM
Re: load data infile syntax
July 20, 2010 03:39PM
August 30, 2010 01:26PM


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.