C no doubts then its D not E
This is a common misconception. If ord_seq.NEXTVAL is used in a DEFAULT clause, users do not need direct privileges on the sequence to insert into the table.
The database evaluates the default on behalf of the user.
To support D is correct:
When a sequence is used in a DEFAULT clause, Oracle Database does not require that the user has direct SELECT privileges on the sequence. The value is generated by the system as part of the insert. [https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/CREATE-SEQUENCE.html] - See “Using Sequences in DEFAULT clauses”
E is correct only if we assume that user doesn't insert ord_no explicitly. If he does than he doesn't need the select privilege on the sequence.
In my oppinion only C is correct.
• During table creation, the sequence must exist and you must have select privilege on it for it to be used as a column default.
• The users performing inserts against the table must have select privilege on the sequence, as well as insert privilege on the table.
A is wrong. in the sequence code there is cycle. it means once it has reach the maxvalue start all over from 1. i.e duplicate.
upvoted 1 times
...
...
This section is not available anymore. Please use the main Exam Page.1z0-071 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
826cb95
1 week, 6 days agoluisem
6 days, 17 hours agoyaya32
11 months, 1 week agozangado
1 year agoogi33
7 months, 2 weeks agojm9999
1 year, 2 months agoShrimathi
1 year, 4 months agox33
1 year, 1 month ago