nerdexam
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

1Z0-146 question #95 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)
  • A
    2% (1)
  • B
    85% (39)
  • C
    4% (2)
  • D
    9% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-146 Practice