This is my PL/SQL WHILE LOOP code below:
SET SERVEROUTPUT ON;
DECLARE
l_check NUMBER;
BEGIN
WHILE (l_check < 5)
LOOP
l_check := l_check + 1;
DBMS_OUTPUT.PUT_LINE(l_check);
END LOOP;
END;
When I executed this while loop, it is showing in the message that PL/SQL procedure successfully completed. However, I'm getting a blank result despite using SET SERVEROUTPUT ON;