SQL>
SQL> CREATE OR REPLACE FUNCTION myProc RETURN VARCHAR2
2 AS
3 BEGIN
4 RETURN NULL;
5 DBMS_OUTPUT.put_line ('Never here...');
6 END myProc;
7 /
SQL>
SQL> SHOW ERRORS PROCEDURE myProc
Errors for PROCEDURE myProc:
LINE/COL ERROR
-------- -----------------------------------------------------------------
5/4 PLW-06002: Unreachable code
6/7 PLW-06002: Unreachable code
8/7 PLW-06002: Unreachable code
14/4 PLW-06002: Unreachable code
SQL>
SQL> DROP PROCEDURE myProc;
Procedure dropped.
|