MySQL Forums
Forum List  »  MySQL for Excel

Re: Insert Data in Table from Excel sheet
Posted by: ergi veseli
Date: November 09, 2012 11:01AM

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''data' FIELDS TERMINATED BY ',' ENCLOSED BY ',' LINES TERMINATED BY '\r\n' ' at line 2
I have this problem when i use this code:
LOAD DATA LOCAL INFILE '/USER-PC\Users\user\Desktop\for_mysql\list.csv'
INTO TABLE 'data'
FIELDS TERMINATED BY ','
ENCLOSED BY ','
LINES TERMINATED BY '\r\n'
!!!

Options: ReplyQuote


Subject
Views
Written By
Posted
2261
October 29, 2012 11:30AM
Re: Insert Data in Table from Excel sheet
1418
November 09, 2012 11:01AM
1832
December 04, 2012 07:50AM


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.