You are designing a data warehouse with two fact tables. The first table contains sales per
month and the second table contains orders per day.
Referential integrity must be enforced declaratively.
You need to design a solution that can join a single time dimension to both fact tables.
What should you do?
A.
Create a view on the sales table.
B.
Partition the fact tables by day.
C.
Create a surrogate key for the time dimension.
D.
Change the level of granularity in both fact tables to be the same.
Explanation:
In order to join the facts table in time dimension we cannot have two different time measures
(time and day).