MySQL Forums
Forum List  »  Other Migration

Re: import from Excel to MySQL
Posted by: Vu Mai
Date: February 27, 2008 05:32PM

If you have an extra character after the field, use this:
LINES TERMINATED BY '\r\n'

If you don't want to have the column names imported, open the .csv file with NOTEPAD and delete them or use IGNORE ROW in the SQL

Options: Reply• Quote


Subject
Views
Written By
Posted
302912
September 10, 2004 04:53AM
172269
September 20, 2004 07:19AM
66778
August 18, 2005 12:00AM
60698
September 05, 2005 10:45PM
33478
April 15, 2008 04:14AM
48004
September 26, 2004 02:30PM
35116
February 01, 2005 06:05AM
26781
January 25, 2006 07:49AM
26985
June 19, 2006 09:02PM
23587
April 11, 2007 07:52PM
12282
September 10, 2008 08:32AM
17054
July 07, 2007 08:11AM
18925
October 08, 2007 10:11AM
14850
November 04, 2007 12:36PM
12448
February 26, 2008 03:43PM
15664
February 26, 2008 03:49PM
Re: import from Excel to MySQL
12538
February 27, 2008 05:32PM
13023
March 19, 2008 03:49AM
12755
March 24, 2008 05:58PM
8333
March 14, 2009 07:55AM
14777
May 18, 2008 08:55AM
11626
March 07, 2009 11:33PM
14716
July 07, 2008 12:17AM
23521
February 24, 2009 04:03AM


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.