For which constraints are indexes created when the constraint is added?
-
Check
-
Unique
-
Not null
-
Primary key
-
Foreign key
B,D
Correct answer
Explanation
Oracle automatically creates indexes to enforce UNIQUE and PRIMARY KEY constraints. These indexes support the constraint's requirement that values be distinct across rows (or non-null and distinct for PK). CHECK, NOT NULL, and FOREIGN KEY constraints do not automatically create indexes - though you can and often should manually create indexes on foreign key columns for join performance.