DECLARE
v_Ctr BINARY_INTEGER := 1;
BEGIN
Dbms_Output.Put_line ('Start');
LOOP
Dbms_Output.Put_line (v_Ctr || ' Loop count');
v_Ctr := v_Ctr + 1;
IF v_Ctr > 8 THEN
GOTO l_EndOfLoop;
END IF;
END LOOP;
<<l_EndOfLoop>>
Dbms_Output.Put_line ('Done!');
END;
/
No comments:
Post a Comment