SQL>
SQL> CREATE OR REPLACE PROCEDURE plsb (str IN VARCHAR2, bool IN BOOLEAN)
2 IS
3 BEGIN
4 IF bool
5 THEN
6 DBMS_OUTPUT.PUT_LINE (str || ' - TRUE');
7 ELSIF NOT bool
8 THEN
9 DBMS_OUTPUT.PUT_LINE (str || ' - FALSE');
10 ELSE
11 DBMS_OUTPUT.PUT_LINE (str || ' - NULL');
12 END IF;
13 END plsb;
14 /
SP2-0804: Procedure created with compilation warnings
|