1 CASE
2 %Einfache WHEN-Klausel
2 %WHEN-Klausel mit Suchbedingung
3! ELSE NULL
3?
3 ELSE  Ergebnisausdruck
4 END

Einfache WHEN-Klausel

1 Ausgangswert
2+ 
2 WHEN  Testwert THEN
2.1 Ergebniswert
2.1 NULL

WHEN-Klausel mit Suchbedingung

1+ 
1 WHEN  Suchbedingung THEN
1.1 Ergebniswert
1.1 NULL