Error when loading data from cp1250 file
Posted: Thu 01 Dec 2011 11:46
Hello,
I have a problem when trying to import data from file coded in cp1250. Normally this code works from command line or MySQL Query Browser, but in dbForge Studio it is not roking with this error: 5 Unknown system variable 'cp1250'
LOAD DATA LOCAL INFILE 'M:\Folder\file.txt' INTO TABLE tablename CHARACTER SET cp1250 FIELDS TERMINATED BY ',' ENCLOSED BY '\' LINES TERMINATED BY '\n';
Am I doing anything wrong?
I have a problem when trying to import data from file coded in cp1250. Normally this code works from command line or MySQL Query Browser, but in dbForge Studio it is not roking with this error: 5 Unknown system variable 'cp1250'
LOAD DATA LOCAL INFILE 'M:\Folder\file.txt' INTO TABLE tablename CHARACTER SET cp1250 FIELDS TERMINATED BY ',' ENCLOSED BY '\' LINES TERMINATED BY '\n';
Am I doing anything wrong?