Which of the following are cursor attributes ?
-
%ISOPEN
-
%NOTFOUND
-
both a and b
-
%CURSORSOPEN
C
Correct answer
Explanation
PL/SQL cursors have attributes like %ISOPEN (checks if cursor is open) and %NOTFOUND (checks if the last fetch returned no rows). %CURSORSOPEN is not a valid cursor attribute. Other attributes include %FOUND and %ROWCOUNT.