Professional Documents
Culture Documents
Important Oracle Stuff
Important Oracle Stuff
Session altered.
SQL>CREATE PROCEDURE p AS
2 BEGIN
3 FOR i IN 3 .. 1 LOOP
4 DBMS_OUTPUT.Put_Line(i);
5 END LOOP;
6 END;
7/
SP2-0804: Procedure created with compilation warnings
SQL>show error
Errors for PROCEDURE P:
LINE/COL ERROR
-------- -----------------------------------------------------------------3/4 PLW-06002: Unreachable code4/7 PLW-
06002: Unreachable code