SQL>
SQL> DECLARE
2 selector NUMBER := 0;
3 BEGIN
4 CASE selector
5 WHEN 0 THEN
6 dbms_output.put_line('Case 0!');
7 WHEN 1 THEN
8 dbms_output.put_line('Case 1!');
9 ELSE
10 dbms_output.put_line('No match!');
11 END CASE;
12 END;
13 /
Case 0!
PL/SQL procedure successfully completed.
SQL>
SQL>