MySQL Forums
Forum List  »  CSV Storage Engine

Re: csv to MySQL 5
Posted by: Umesh Shastry
Date: April 13, 2006 01:33AM

Hi,

Try this...

LOAD DATA INFILE "dumpfile.csv" INTO TABLE your_table FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY """" LINES TERMINATED BY "\\r\\n";'

FOr details take a look at here..

http://dev.mysql.com/doc/refman/5.0/en/load-data.html

Regards,
Umesh Shastry
http://www.blogger.com/profile/02551756983528645221

Options: ReplyQuote


Subject
Views
Written By
Posted
16216
April 13, 2006 01:18AM
Re: csv to MySQL 5
14948
April 13, 2006 01:33AM


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.