Next: 4.3 Branchement inconditionnel
Up: 4 Corps du programme
Previous: 4.1 Affectation des variables
  Contents
Syntaxe:
IF condition
THEN .....
[ELSE] [ELSIF] ......
END IF;
Ex: IF traitement IS NULL
THEN RAISE traitement_null;
ELSIF traitement >= traitement_moyen
THEN traitement := ROUND(traitement * 1.01, 2);
ELSE traitement := traitement_moyen;
END IF;
Florence Bannay
2000-11-13