Hello,
i just tried to create a table, i have a case when clause that generates an error.
(case when t1.code_chiffre_affaire = 1 then '<-10%' when t1.code_chiffre_affaire = 2 then '-10% à -5%' when t1.code_chiffre_affaire = 3 then '-5% à 0%' when t1.code_chiffre_affaire = 4 then '0% à +5%' when t1.code_chiffre_affaire = 5 then '+5% à +10%' when t1.code_chiffre_affaire = 6 then '>+10%' end) as tranche_var_chiff_aff
the error :
ERROR: String data, right-truncated TRANCHE_VAR_CHIFF_AFF
... View more