X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Ffusionax%2FEntreprises.sql;h=1c66461e9b913151235d24b2b7d1e39f59628c6f;hb=3422f7193e38e67054d2ecda2f4a68b64bd310ef;hp=3e3cfeb7579c9a76a248ffa453f4b10eae18e130;hpb=8127963d297fab1ccb03df8f69cc9ddcdc645036;p=platal.git diff --git a/modules/fusionax/Entreprises.sql b/modules/fusionax/Entreprises.sql index 3e3cfeb..1c66461 100644 --- a/modules/fusionax/Entreprises.sql +++ b/modules/fusionax/Entreprises.sql @@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS `fusionax_entreprises` ( INDEX (Raison_sociale(20)) ) ENGINE=InnoDB, CHARSET=utf8; -LOAD DATA LOCAL INFILE '{?}Entreprises.txt' INTO TABLE `fusionax_entreprises` FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\r\n' +LOAD DATA LOCAL INFILE '{?}Entreprises.txt' INTO TABLE `fusionax_entreprises` CHARACTER SET utf8 FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\r\n' (EN, Code_etab, Raison_sociale, Sigle, @Inconnu, @StringDate_maj); UPDATE fusionax_entreprises SET Raison_sociale = TRIM(Raison_sociale), Sigle = TRIM(Sigle);