Commit 636d418a authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Ajout du INSEE et INSEE PROVISOIRE dans MV_INTERVENANT.sql Octopus.

parent 6ac72c88
......@@ -172,7 +172,7 @@ SELECT DISTINCT
adr.ville_nom adresse_commune,
pays.code_pays z_adresse_pays_id,
/* INSEE */
COALESCE(vindinsee.no_insee, vindinsee.no_insee_provisoire) numero_insee,
COALESCE(TRIM(vindinsee.no_insee), TRIM(vindinsee.no_insee_provisoire)) numero_insee,
CASE
WHEN vindinsee.no_insee IS NULL
AND vindinsee.no_insee_provisoire IS NOT NULL
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment