Skip to content

Commit

Permalink
Correction nom de naissance tronqués
Browse files Browse the repository at this point in the history
  • Loading branch information
jusabatier committed Jun 24, 2021
1 parent 21ed8d8 commit 6d9ff3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/sql/vues/Proprietaire.sql
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ CREATE MATERIALIZED VIEW #schema_cadastrapp.proprietaire AS
WHEN gtoper = '2' THEN trim(ddenom)
END AS app_nom_usage,
CASE
WHEN gtoper = '1' THEN COALESCE(rtrim(dqualp),'')||' '||COALESCE(rtrim(dnomlp),'')||' '||COALESCE(rtrim(dprnlp),'')
WHEN gtoper = ''1'' THEN COALESCE(rtrim(dqualp),'''')||'' ''||REPLACE(rtrim(ddenom),''/'','' '')
WHEN gtoper = '2' THEN trim(ddenom)
END AS app_nom_naissance,
prop_ccodro.ccodro,
Expand Down
2 changes: 1 addition & 1 deletion database/sql/vues_dblink/Proprietaire.sql
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ CREATE MATERIALIZED VIEW #schema_cadastrapp.proprietaire AS
WHEN gtoper = ''2'' THEN trim(ddenom)
END AS app_nom_usage,
CASE
WHEN gtoper = ''1'' THEN COALESCE(rtrim(dqualp),'''')||'' ''||COALESCE(rtrim(dnomlp),'''')||'' ''||COALESCE(rtrim(dprnlp),'''')
WHEN gtoper = ''1'' THEN COALESCE(rtrim(dqualp),'''')||'' ''||REPLACE(rtrim(ddenom),''/'','' '')
WHEN gtoper = ''2'' THEN trim(ddenom)
END AS app_nom_naissance,
prop_ccodro.ccodro,
Expand Down

0 comments on commit 6d9ff3c

Please sign in to comment.