The command used to open a CURSOR FOR loop is

  1. open

  2. fetch

  3. parse

  4. None


Correct Option: D

AI Explanation

To answer this question, you need to understand the concept of the CURSOR FOR loop in programming.

The correct answer is D) None.

In Oracle PL/SQL, the command used to open a CURSOR FOR loop is not explicitly mentioned. The CURSOR FOR loop implicitly opens the cursor and fetches the rows from the cursor one by one until there are no more rows to fetch. The syntax for the CURSOR FOR loop is as follows:

FOR  IN 
LOOP
    -- Statements to process each fetched row
END LOOP;

So, there is no specific command used to open the CURSOR FOR loop in Oracle PL/SQL. The loop itself takes care of opening and fetching the rows from the cursor.

Therefore, the correct answer is D) None.

Find more quizzes: