开发者

MySql CSV import from MSSQL

I've got a CSV file exported by MSSQL. When I try to import it into MySql, PhpMyAdmin returns "Invalid column count on line 2316". I don't know why. Can you help me? heres the code around line 2316:

2312: 708;Nein;0;;Ja;Nein;0;Ja;;Ja;;Ja;;Ja;;8;;5;;;;Ja;Nein;Nein;Ja;Nein;Nein;Nein;Ja;Nein;Ja;Nein;Nein;Nein;Nein;Ja;Nein;Ja;Nein;Nein;Nein;Nein;Nein;Nein;Nein;Nein;Nein;Ja;Nein;Nein;Nein;Nein;Ja;Nein;Nein;Nein;Ja;1;Nein;;Nein;;Nein;;Ja;1;Nein;;Nein;;;5;Nein;;;Hildebrecht, Susanne;;040-65432154;tut@web.de;;;1
2313: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2314: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2315: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2316: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;开发者_运维知识库;;;;;;;;;;;;;;;;;;;;;;;;;;;

Charset of the File is UTF-8 and the Database has utf8_general_ci. MySql Version is 5.1.43-nmm4-log.

Thank you in advance!


Refer: http://andrewodendaal.com/phpmyadmin-invalid-field-count-in-csv-input-on-line-1/ OR Quick fix for this problem is to change the delimiter symbol manually. Use semicolon ( ; ) as field delimiter instead of comma ( , ).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜