Oracle
1Z0-061 · Question #320
A UNIQUE constraint on a column requires an index. Which of the following scenarios is correct? (Choose one or more correct answers.)
The correct answer is A. If a UNIQUE index already exists on the column, it will be used. B. If a NONUNIQUE index already exists it will be used. See the full explanation below for the reasoning.
Question
A UNIQUE constraint on a column requires an index. Which of the following scenarios is correct? (Choose one or more correct answers.)
Options
- AIf a UNIQUE index already exists on the column, it will be used.
- BIf a NONUNIQUE index already exists it will be used.
- CIf a NONUNIQUE index already exists on the column, a UNIQUE index will be created implicitly.
- DIf any index exists on the column, there will be an error as Oracle attempts to create another
How the community answered
(20 responses)- A75% (15)
- C20% (4)
- D5% (1)
Community Discussion
No community discussion yet for this question.