Fun at zangOOr Click Here
0 like 0 dislike
158 views
Import CSV File Into MySQL Table without break any row and column
in Education & Reference by (790 points) | 158 views

1 Answer

0 like 0 dislike

LOAD DATA LOCAL INFILE 'D:\aaabbb.txt' INTO TABLE table_name FIELDS
TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n';

by
0 0
Sometimes this works with \r

LOAD DATA LOCAL INFILE 'D:\TEST.csv' INTO TABLE TABLENAME FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\r\n';

Related questions

0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 26, 2015 in Education & Reference by Simmi (640 points) | 250 views
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked May 6, 2015 in Education & Reference by Sam (1.4k points) | 108 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,245 questions
1,400 answers
565 comments
4,809 users