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)- A4% (1)
- B8% (2)
- C15% (4)
- D73% (19)
Community Discussion
No community discussion yet for this question.