Bonjour,

Je cherche à faire un isnull(champ1, champ2, champ3, champ4...) en sql.
Equivalent à cet algo :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
     si champ1 est null
          si champ2 est null
               si champ3 est null
                    si champ4 est null
                    alors ne rien afficher
                    sinon affichier champ4
               sinon afficher champ3
          sinon afficher champ2
     sinon afficher champ1
isnull() ne prend normalement que 2 paramètres.

Des idées ?

Merci d'avance