Autre me renvoie tata et toto. Est-ce normal? Autre ne devrait-il pas rendre juste les autre cas non étudiés dans les case when (...??
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 SELECT coalesce ( (case when (T.TEMPS > 0 and V.CD = xxx) then tata end), (case when (T.TEMPS > 0 and V.CD = yyy) then toto end), (case when (T.Temps > 0 and V.CD = 'aaa') then titielse 'Autre' end) ) FROM T
Partager