QuestionQ5

VerifiedManaging Schema Objects

Review these statements and the resulting output:

Question Image

Now review this command:

Question Image

What must replace MISSING CLAUSE for CUSTOMER_SEQ.NEXTVAL to return 11?

Explanation

CACHE 10 preallocates sequence values. After NEXTVAL returns 1, values 2 through 10 remain cached. Specifying NOCACHE when altering the sequence removes the cached allocation, so those unused values are skipped and the next generated value is 11.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!