Prise en compte de la corse

This commit is contained in:
Michael RICOIS 2012-05-11 09:57:09 +00:00
parent 8a1d8968e1
commit 0c8f40021b

View File

@ -10,7 +10,7 @@ source ciblage
sql_query = \
SELECT id, LPAD(siren, 9, '000000000') AS siren, LPAD(nic, 5, '00000') AS nic, \
actif, siege, \
REPLACE(REPLACE(adr_dep, '2B', '200'), '2A', '200') AS adr_dep, \
REPLACE(REPLACE(adr_dep, '2B', '202'), '2A', '201') AS adr_dep, \
IF(tel>0,1,0) AS tel, \
IF(fax>0,1,0) AS fax, \
cj, \