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: ReplyQuote


Subject
Views
Written By
Posted
302435
September 10, 2004 04:53AM
172035
September 20, 2004 07:19AM
66645
August 18, 2005 12:00AM
60538
September 05, 2005 10:45PM
33246
April 15, 2008 04:14AM
47847
September 26, 2004 02:30PM
34933
February 01, 2005 06:05AM
26405
January 25, 2006 07:49AM
26818
June 19, 2006 09:02PM
23418
April 11, 2007 07:52PM
12158
September 10, 2008 08:32AM
16922
July 07, 2007 08:11AM
18676
October 08, 2007 10:11AM
14652
November 04, 2007 12:36PM
12284
February 26, 2008 03:43PM
15512
February 26, 2008 03:49PM
Re: import from Excel to MySQL
12121
February 27, 2008 05:32PM
12470
March 19, 2008 03:49AM
12586
March 24, 2008 05:58PM
8229
March 14, 2009 07:55AM
14305
May 18, 2008 08:55AM
11492
March 07, 2009 11:33PM
14521
July 07, 2008 12:17AM
23409
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.