simple loop

PHOTO EMBED

Wed Sep 22 2021 22:08:34 GMT+0000 (Coordinated Universal Time)

Saved by @kaveen

DECLARE
	i integer := 1;
BEGIN 
	LOOP
    	DBMS_OUTPUT.PUT_LINE(i);
    	i := i + 1;
		EXIT WHEN i > 5;
	END LOOP;
	--after exit controle resumes here
    DBMS_OUTPUT.PUT_LINE('After Exit i is '|| i);
END;
content_copyCOPY