Sample Exam Questions
The result is 0.
The result is 1.
The result is 2.
An error is output.
※This sample exam is different from those that appear in the actual OSS-DB Exam.
2024/05/10
The nextval command advances the sequence to the next value and returns that value. If multiple sessions execute nextval concurrently, each sequence safely returns a different sequence value.
The currval command returns the value obtained by the last nextval in the current session.
However, if nextval has not been executed in the current session, an error is output.
Therefore, the correct answer is D.
© EDUCO All Rights Reserved.