Home »
PL/SQL MCQs
There are 4 steps to work on Explicit Cursor:
89. There are 4 steps to work on Explicit Cursor:
- Declare the cursor to be initialized in memory.
- Allocate memory by opening the cursor.
- Retrieve data by fetching the cursor.
- Release allocated memory by closing the cursor.
Select the correct order of the above 4 steps to work on Explicit Cursor.
- II > III > IV > I
- I > II > IV > III
- I > II > III > IV
- IV > III > II > I
Answer: C) I > II > III > IV
Explanation:
This is the order in which 4 steps will be performed to work on Explicit Cursor:
- Declare the cursor to be initialized in memory.
- Allocate memory by opening the cursor.
- Retrieve data by fetching the cursor.
- Release allocated memory by closing the cursor.