Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create New Database Diagram Use SSMS to create new database and name it Zagi_DW 2nd, Use SQL Coding to create the ZAGI Datawarehouse Tables in

 Create New Database Diagram

 Use SSMS to create new database and name it Zagi_DW

2nd, Use SQL Coding to create the ZAGI Datawarehouse Tables in Chapter 8's Power Point Slides number 11

  • In the Dimension Tables only, CalendarKey, StoreKey, CustomerKey, and ProductKey must be surrogate keys
  • Make sure the Data type of each column in Zagi_DW is identical to its source in the operational Database Zagi from your Assignment 1
  • Calendar Dimension Columns Data Types must reflect the Data Values available in Chapter 8's Power Point Slides number Slide 13
  • In the Sales Fact Table, CalendarKey, StoreKey, CustomerKey, and ProductKey are the composite primary key
  • NOTE: DO NOT INSERT any data into Zagi_DW tables

3rd

CALENDAR Dimension CalendarKey FullDate Day OfWeek DayOfMonth Month Quarter Year STORE Dimension StoreKey Initial Example: Dimensional Model Based on A Single Source ZAGI Retail Company dimensional model for the 

CALENDAR Dimension CalendarKey FullDate Day OfWeek DayOfMonth Month Quarter Year STORE Dimension StoreKey StoreID StoreZip StoreRegionName SALES Fact table CalendarKey (FK) StoreKey (FK) ProductKey (FK) CustomerKey (FK) DollarsSold UnitsSold PRODUCT Dimension ProductKey ProductID ProductName ProductPrice ProductVendorName Product CategoryName CUSTOMER Dimension CustomerKey CustomerID CustomerName CustomerZip

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Based on the images provided which show the dimensional data model and some sample data from each dimension and the fact table Ill guide you through c... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Modeling and Database Design

Authors: Narayan S. Umanath, Richard W. Scammel

2nd edition

1285085256, 978-1285085258

More Books

Students also viewed these Databases questions