Haha, I bet the exam writer is just trying to trip us up with this one. They probably want us to overthink it. I'm going to go with my gut on this - A, C, and F seem the most reliable to me.
Hmm, I'm a bit uncertain about B. I thought sequences were designed to avoid duplicate values, but maybe there's some edge case where it could happen. And F, I'm not sure if that's true or not. Guess I'll have to review my sequence knowledge.
I think D is true - two or more tables can't use the same sequence to generate keys. That would cause all sorts of problems. And E, I believe a sequence can only be dropped by a DBA, not a regular user.
I agree with Denae on those three options. But I'm not sure about the others. B seems false - a sequence should never issue duplicate values. And D and E, I'm not confident about those.
Hmm, I think options A, C, and F are true. Sequences can have gaps if you don't use them consecutively, and if the instance shuts down, any unallocated cached values are lost. And if a transaction fails, the sequence number that was allocated can be rolled back.
I'm not too sure about this question. It seems to cover a lot of different aspects of sequences in Oracle, and I'm not familiar with all the nuances. I'll have to think this through carefully.
upvoted 0 times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Brittney
7 hours agoPura
22 days agoBulah
24 days agoSage
25 days agoArminda
26 days agoDenae
28 days agoLouis
30 days ago