nerdexam
Oracle

1Z0-061 · Question #317

A sequence is created as follows: create sequence seq1 maxvalue 50; If the current value is already 50, when you attempt to select SEQ1.NEXTVAL what will happen? (Choose the best answer.)

The correct answer is D. There will be an error. See the full explanation below for the reasoning.

Question

A sequence is created as follows:

create sequence seq1 maxvalue 50; If the current value is already 50, when you attempt to select SEQ1.NEXTVAL what will happen? (Choose the best answer.)

Options

  • AThe sequence will cycle and issue 0.
  • BThe sequence will cycle and issue 1.
  • CThe sequence will reissue 50.
  • DThere will be an error.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    15% (4)
  • D
    73% (19)

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice