What should you do?

Correct Answer for the following Question is given below

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?References:http://msdn.microsoft.com/en-us/library/ms174537.aspx http://technet.microsoft.com/en-us/library/ms174832.aspx http://msdn.microsoft.com/en-us/library/ms174884.aspx http://decipherinfosys.wordpress.com/2007/02/01/surrogate-keys-vs-natural-keys-for-primary-key/ http://www.agiledata.org/ essays/keys.htmlhttp://www.databasejournal.com/features/mssql/article.php/3922066/SQL-Server-Natural-Key-Verses- Surrogate-Key.htmhttp://www.jamesserra.com/archive/2012/01/surrogate-keys/

Question:

What should you do?

Options:

Join the two fact tables.

Merge the fact tables.

Create a time dimension that can join to both fact tables at their respective granularity.

Create a surrogate key for the time dimension.

Correct Answer

The Correct Answer for this Question is

Create a time dimension that can join to both fact tables at their respective granularity.

Explanation

The Question – What should you do? has been answered correctly and answers for the question is Create a time dimension that can join to both fact tables at their respective granularity.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment