Oracle Database 12c: SQL Fundamentals — Question 29

This statement will fail:
create unique bitmap index on employees(department_id,hire_date);
Why?

Answer options

Correct answer:

Explanation

The correct answer is A because bitmap indexes are inherently designed to be non-unique. Option B is incorrect since both columns can be of compatible data types. Option C is also wrong because a bitmap index can include multiple columns. Option D is irrelevant to the uniqueness constraint of the bitmap index.