Conditional compilation parameters are stored as name and value pairs in the PLSQL_CCFLAG database parameter : Conditional_compilation « PL SQL « Oracle PL / SQL






Conditional compilation parameters are stored as name and value pairs in the PLSQL_CCFLAG database parameter

 

SQL>
SQL> BEGIN
  2    $IF $$DEBUG = 1 $THEN
  3      dbms_output.put_line('Debug Level 1 Enabled.');
  4    $END
  5  END;
  6  /
Debug Level 1 Enabled.

PL/SQL procedure successfully completed.

SQL>

   
  








Related examples in the same category