Oracle
1Z0-146 · Question #95
View the Exhibit and examine the PL/SQL code. The code takes a long time to execute. What would you recommend to improve performance?
The correct answer is B. using the BULK COLLECT option for query instead of cursor. See the full explanation below for the reasoning.
Question
View the Exhibit and examine the PL/SQL code. The code takes a long time to execute. What would you recommend to improve performance?
Exhibit
Options
- Ausing NOT NULL constraint when declaring the variables
- Busing the BULK COLLECT option for query instead of cursor
- Cusing WHILE.. END LOOP instead of FOR .. END LOOP
- Dusing the SIMPLE_INTEGER data type instead of the NUMBER data type
How the community answered
(46 responses)- A2% (1)
- B85% (39)
- C4% (2)
- D9% (4)
Community Discussion
No community discussion yet for this question.
