I'm trying this anonymous block :
SET SERVEROUTOUT ON;
DECLARE
VAR_1:=1;
BEGIN
LOOP
DBMS_OUTPUT.PUT_LINE('Variable'||VAR_1);
VAR_1:=VAR_1+1;
EXIT WHEN VAR_1=10;
END LOOP;
END;
/
So I want that the system to print my message while it is in the loop, not when the block ends (Because it prints all the message at the end).
Thanks.