X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Ffusionax%2FFormations.sql;fp=modules%2Ffusionax%2FFormations.sql;h=39068623d3f2394bf115136b13d910b096f8fd4e;hb=ddc4c64239397960c7c95aad9153009b986038bb;hp=c2b09f6039bbc79da4bc1cab3acbf1b717d9a344;hpb=b47cc6f09f0a001d1f00f4263d3b14b4eb4ce379;p=platal.git diff --git a/modules/fusionax/Formations.sql b/modules/fusionax/Formations.sql index c2b09f6..3906862 100644 --- a/modules/fusionax/Formations.sql +++ b/modules/fusionax/Formations.sql @@ -5,16 +5,16 @@ DROP TABLE IF EXISTS `fusionax_formations`; CREATE TABLE IF NOT EXISTS `fusionax_formations` ( FO CHAR(2) NOT NULL COMMENT 'Vaut toujours FO pour cette table', id_ancien VARCHAR(8) NOT NULL COMMENT 'Id unique de l''ancien', - Intitule_diplome VARCHAR(60) collate utf8_general_ci NOT NULL COMMENT 'Intitulé du diplôme', - Intitule_formation VARCHAR(60) collate utf8_general_ci NOT NULL COMMENT 'Intitulé de la formation', - Descr_formation VARCHAR(60) collate utf8_general_ci NOT NULL COMMENT 'Description de la formation', - tmp_1 VARCHAR(60) collate utf8_general_ci NOT NULL, - tmp_2 VARCHAR(60) collate utf8_general_ci NOT NULL, - tmp_3 VARCHAR(60) collate utf8_general_ci NOT NULL, - tmp_4 VARCHAR(60) collate utf8_general_ci NOT NULL, + Intitule_diplome VARCHAR(60) NOT NULL COMMENT 'Intitulé du diplôme', + Intitule_formation VARCHAR(60) NOT NULL COMMENT 'Intitulé de la formation', + Descr_formation VARCHAR(60) NOT NULL COMMENT 'Description de la formation', + tmp_1 VARCHAR(60) NOT NULL, + tmp_2 VARCHAR(60) NOT NULL, + tmp_3 VARCHAR(60) NOT NULL, + tmp_4 VARCHAR(60) NOT NULL, PRIMARY KEY (id_ancien, Intitule_diplome, Intitule_formation) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; +) ENGINE=InnoDB, CHARSET=utf8; - LOAD DATA LOCAL INFILE 'Formations.txt' + LOAD DATA LOCAL INFILE '{?}Formations.txt' INTO TABLE fusionax_formations FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\r\n' (FO, id_ancien, Intitule_diplome, Intitule_formation, Descr_formation, tmp_1, tmp_2, tmp_3, tmp_4);