1 SQL> CREATE OR REPLACE FUNCTION F_TESTDEBUG
2 RETURN NUMBER IS
3 v_count number.
4 BEGIN
5 0select count(*) into v_count from user_tables.
6
7 $IF $$my_debug $THEN
8 DBMS_OUTPUT.PUT_LINE( Tables number is: || v_count).
9 $END
10
11 return v_count.
12 END.
13 /
Function created