sdsphinx/indexer/sql/finIndexationEtab.sql
Damien LASSERRE 434aa5c4f9
2011-10-24 07:07:16 +00:00

5 lines
310 B
SQL

DROP TABLE IF EXISTS jo.etablissements_old;
RENAME TABLE jo.etablissements TO jo.etablissements_old;
RENAME TABLE jo.etablissements_tmp TO jo.etablissements;
ALTER TABLE jo.etablissements_old ADD INDEX(source, siege, actif, adr_dep, capital, cj, ape_entrep, ape_etab, age_entrep, teff_entrep, teff_etab, tca);