Load data infile (data erroneous) with version 3.55.0.21
Posted: Tue 27 Sep 2005 14:31
Hi
we have some problem whith the LOAD DATA LOCAL INFILE function. The query doesn't do the good result.
The query is :
LOAD DATA LOCAL INFILE 'C:\delphi7\sources\neoscope2\FILES\IMPORTFILES\temp.txt' INTO TABLE imptempo FIELDS TERMINATED BY ';' ENCLOSED BY '"' LINES TERMINATED BY '\r\n' (nom,prenom)
Content of Temp.txt :
"marchand";"mickael"
"poireau";""
"hubert";""
The result in the first field nom is (instead of "marchand"):
delphi7sources
eoscope2FILESIMPORTFILES emp.txt"ma
Config:
Server : MySQL 4.1.9
Developement : Delphi 7 + Mydac 3.55.0.21
But in version 3.00.1.3 this query return the good result.
Also, the command line client and the mysqlimport utility are OK.
Do you reproduce this problem ?
we have some problem whith the LOAD DATA LOCAL INFILE function. The query doesn't do the good result.
The query is :
LOAD DATA LOCAL INFILE 'C:\delphi7\sources\neoscope2\FILES\IMPORTFILES\temp.txt' INTO TABLE imptempo FIELDS TERMINATED BY ';' ENCLOSED BY '"' LINES TERMINATED BY '\r\n' (nom,prenom)
Content of Temp.txt :
"marchand";"mickael"
"poireau";""
"hubert";""
The result in the first field nom is (instead of "marchand"):
delphi7sources
eoscope2FILESIMPORTFILES emp.txt"ma
Config:
Server : MySQL 4.1.9
Developement : Delphi 7 + Mydac 3.55.0.21
But in version 3.00.1.3 this query return the good result.
Also, the command line client and the mysqlimport utility are OK.
Do you reproduce this problem ?