1Z0-007 · Question #4
For which two constraints does the Oracle Server implicitly create a unique index? (Choose two.)
The correct answer is B. PRIMARY KEY E. UNIQUE. Indexes are created automatically by Oracle to support integrity constraints that enforce uniqueness. The two types of integrity constraints that enforce uniqueness are PRIMARY KEY and UNIQUE constraints. When the primary key or UNIQUE constraint is declared, a unique index to…
Question
For which two constraints does the Oracle Server implicitly create a unique index? (Choose two.)
Options
- ANOT NULL
- BPRIMARY KEY
- CFOREIGN KEY
- DCHECK
- EUNIQUE
How the community answered
(42 responses)- A10% (4)
- B83% (35)
- C2% (1)
- D5% (2)
Explanation
Indexes are created automatically by Oracle to support integrity constraints that enforce uniqueness. The two types of integrity constraints that enforce uniqueness are PRIMARY KEY and UNIQUE constraints. When the primary key or UNIQUE constraint is declared, a unique index to support the column's uniqueness is also created, and all values in all columns that were defined as part of the primary key or UNIQUE constraint are placed into the index. Incorrect Answers A: Oracle will not implicitly create an unique index for the NOT NULL constraint. C: Oracle will not implicitly create an unique index for the FOREIGN KEY constraint. D: Oracle will not implicitly create an unique index for the FOREIGN KEY constraint.
Topics
Community Discussion
No community discussion yet for this question.