PL/SQL While Loop

Oracle PL/SQL While Loop

DECLARE 
	i integer := 5;
BEGIN
	i := 0;
	WHILE i < 10 
	LOOP
		i := i + 1;
		DBMS_OUTPUT.PUT_LINE(i);
	END LOOP;
END;