nerdexam
Oracle

1Z0-144 · Question #84

Examine the following PL/SQL code: Which statement is true about the fetch statements in the PL/SQL code?

The correct answer is B. Each fetch retrieves the next consecutive row and assigns values to the target variables. See the full explanation below for the reasoning.

Question

Examine the following PL/SQL code:

Which statement is true about the fetch statements in the PL/SQL code?

Exhibit

1Z0-144 question #84 exhibit

Options

  • AEach fetch retrieves the first row and assigns values to the target variables.
  • BEach fetch retrieves the next consecutive row and assigns values to the target variables.
  • CThey produce an error because you must close and reopen the cursor before each fetch -
  • DOnly the first fetch retrieves the first row and assigns values to the target variables- the second

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    82% (28)
  • C
    6% (2)
  • D
    9% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-144 Practice