Multiple choice

Which of the following conditions is not responsible for invalid cursor error in PL/SQL?

  1. FETCH cursor before opening the cursor.

  2. CLOSE cursor before opening the cursor.

  3. FETCH cursor after closing the cursor.

  4. It is raised when a database call is issued without being connected to the database.

  5. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This condition is not responsible for invalid cursor error in PL/SQL. It is raised when attempts are made to make a cursor operation that is not allowed.