Destruction des données dans la table resultats temporaire
Warning: Undefined variable $sql in /home/rennespobg/www/outils/api/elections/oldscript/old/L24_1_transfert_internet_vm.php on line 36
Insertion des données dans la table temporaire resultats_temp_E24_1
LOAD DATA LOCAL INFILE 'elections_E24_1.txt' INTO TABLE `resultats_temp_E24_1` CHARACTER SET latin1 FIELDS TERMINATED BY ';' ENCLOSED BY '"' ESCAPED BY '\\' lines terminated by '\r\n'(
`cle_scrutin` , `lib_scrutin` , `num_tour` , `date_scrutin` , `type_ligne` , `num_bureau` , `lib_lieu` , `adresse_lieu` , `num_canton` , `lib_canton` ,
`num_circ` , `lib_circ` , `nb_inscrit` , `nb_emarg` , `nb_votant` , `nb_blanc` , `nb_nuls` , `nb_exprimes` , `participation` , `result_definitif` ,
`lib_cand1` , `nb_voix1` , `pourc1` , `lib_cand2` , `nb_voix2` , `pourc2` , `lib_cand3` , `nb_voix3` , `pourc3` , `lib_cand4` , `nb_voix4` , `pourc4` ,
`lib_cand5` , `nb_voix5` , `pourc5` , `lib_cand6` , `nb_voix6` , `pourc6` , `lib_cand7` , `nb_voix7` , `pourc7` , `lib_cand8` , `nb_voix8` , `pourc8` ,
`lib_cand9` , `nb_voix9` , `pourc9` , `lib_cand10` , `nb_voix10` , `pourc10` , `lib_cand11` , `nb_voix11` , `pourc11` , `lib_cand12` , `nb_voix12` , `pourc12` ,
`lib_cand13` , `nb_voix13` , `pourc13` , `lib_cand14` , `nb_voix14` , `pourc14` , `lib_cand15` , `nb_voix15` , `pourc15` , `lib_cand16` , `nb_voix16` , `pourc16` ,
`lib_cand17` , `nb_voix17` , `pourc17` , `lib_cand18` , `nb_voix18` , `pourc18` , `lib_cand19` , `nb_voix19` , `pourc19` , `lib_cand20` , `nb_voix20` , `pourc20` ,
`lib_cand21` , `nb_voix21` , `pourc21`,`lib_cand22` , `nb_voix22` , `pourc22`,`lib_cand23` , `nb_voix23` , `pourc23`,`lib_cand24` , `nb_voix24` , `pourc24`,
`lib_cand25` , `nb_voix25` , `pourc25`,`lib_cand26` , `nb_voix26` , `pourc26`,`lib_cand27` , `nb_voix27` , `pourc27`,`lib_cand28` , `nb_voix28` , `pourc28`,
`lib_cand29` , `nb_voix29` , `pourc29`,`lib_cand30` , `nb_voix30` , `pourc30`,`lib_cand31` , `nb_voix31` , `pourc31`,`lib_cand32` , `nb_voix32` , `pourc32`,
`lib_cand33` , `nb_voix33` , `pourc33`,`lib_cand34` , `nb_voix34` , `pourc34`,`lib_cand35` , `nb_voix35` , `pourc35`,`lib_cand36` , `nb_voix36` , `pourc36`,
`lib_cand37` , `nb_voix37` , `pourc37`,`lib_cand38` , `nb_voix38` , `pourc38`,`geo_shape`,`geo_point`
)Erreur dans la requête : LOAD DATA LOCAL INFILE 'elections_E24_1.txt' INTO TABLE `resultats_temp_E24_1` CHARACTER SET latin1 FIELDS TERMINATED BY ';' ENCLOSED BY '"' ESCAPED BY '\\' lines terminated by '\r\n'(
`cle_scrutin` , `lib_scrutin` , `num_tour` , `date_scrutin` , `type_ligne` , `num_bureau` , `lib_lieu` , `adresse_lieu` , `num_canton` , `lib_canton` ,
`num_circ` , `lib_circ` , `nb_inscrit` , `nb_emarg` , `nb_votant` , `nb_blanc` , `nb_nuls` , `nb_exprimes` , `participation` , `result_definitif` ,
`lib_cand1` , `nb_voix1` , `pourc1` , `lib_cand2` , `nb_voix2` , `pourc2` , `lib_cand3` , `nb_voix3` , `pourc3` , `lib_cand4` , `nb_voix4` , `pourc4` ,
`lib_cand5` , `nb_voix5` , `pourc5` , `lib_cand6` , `nb_voix6` , `pourc6` , `lib_cand7` , `nb_voix7` , `pourc7` , `lib_cand8` , `nb_voix8` , `pourc8` ,
`lib_cand9` , `nb_voix9` , `pourc9` , `lib_cand10` , `nb_voix10` , `pourc10` , `lib_cand11` , `nb_voix11` , `pourc11` , `lib_cand12` , `nb_voix12` , `pourc12` ,
`lib_cand13` , `nb_voix13` , `pourc13` , `lib_cand14` , `nb_voix14` , `pourc14` , `lib_cand15` , `nb_voix15` , `pourc15` , `lib_cand16` , `nb_voix16` , `pourc16` ,
`lib_cand17` , `nb_voix17` , `pourc17` , `lib_cand18` , `nb_voix18` , `pourc18` , `lib_cand19` , `nb_voix19` , `pourc19` , `lib_cand20` , `nb_voix20` , `pourc20` ,
`lib_cand21` , `nb_voix21` , `pourc21`,`lib_cand22` , `nb_voix22` , `pourc22`,`lib_cand23` , `nb_voix23` , `pourc23`,`lib_cand24` , `nb_voix24` , `pourc24`,
`lib_cand25` , `nb_voix25` , `pourc25`,`lib_cand26` , `nb_voix26` , `pourc26`,`lib_cand27` , `nb_voix27` , `pourc27`,`lib_cand28` , `nb_voix28` , `pourc28`,
`lib_cand29` , `nb_voix29` , `pourc29`,`lib_cand30` , `nb_voix30` , `pourc30`,`lib_cand31` , `nb_voix31` , `pourc31`,`lib_cand32` , `nb_voix32` , `pourc32`,
`lib_cand33` , `nb_voix33` , `pourc33`,`lib_cand34` , `nb_voix34` , `pourc34`,`lib_cand35` , `nb_voix35` , `pourc35`,`lib_cand36` , `nb_voix36` , `pourc36`,
`lib_cand37` , `nb_voix37` , `pourc37`,`lib_cand38` , `nb_voix38` , `pourc38`,`geo_shape`,`geo_point`
)
Avec l'erreur : Can't find file 'elections_E24_1.txt'.