You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
CREATE OR REPLACE PACKAGE BODY abc
IS
CURSOR cur_rows (num_rows NUMBER)
IS
SELECT tname
FROM tab
WHERE ROWNUM < num_rows;
PROCEDURE x
IS
y VARCHAR2 (100);
BEGIN
OPEN cur_rows (5);
LOOP
FETCH cur_rows
INTO y;
EXIT WHEN cur_rows%NOTFOUND;
DBMS_OUTPUT.put_line (y);
END LOOP;
END x;
END abc;
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Following code block errors out
The text was updated successfully, but these errors were encountered: