Reference no: EM132831782
You can use Internet to check your syntax, but cannot ask anyone to do the exam for you. Partial credit might be given even if your answers are incorrect. Your submitted files should contain one SQL file for part 1, and aDTSX file part 2. If you use Flat File or Excel Data Source for Part 2, please include the file also. It is important that you specify your name in the assignment document/attachment:
The attachment name should follow the following convention for Part I:
FIRSTNAME_LASTNAMEPART1.SQL
The attachment name should follow the following convention for Part II:
FIRSTNAME_LASTNAME PART2.DTSX
PART I: Use the OLTP logical schema below to build data warehouse tablesin SQL:
Question 1: CEO of Entertainment Inc. wants to keep track ofperformance of engagement that the companyhasengaged.For each customer and agent, he wantsto know total number of contracts by month, and monthly contract success ratio (calculated by total number of contracts expiredeach monthdivided by total amount of contract price each month).In addition, for each customer and agent he wants to know total numbers of contracts expired each week, and total number of contracts still active each week. Provide 4-step dimensional model in the SQL comment section (4 points) and create data warehouse solution in SQL for the dimensional model that you propose.
Question 2: CEO of Entertainment Inc. wants to keep track of the life cycle of engagement contract. Particularly, he wants to know the total number of agents involved for each engagement contract phrase when the contractisauthorized, engaged,monitored and closeout. Provide 4-step dimensional model in the SQL comment section (4 points) and create data warehouse solution in SQL for the dimensional model that you propose.
PART II:
Import the midtermdata codefor the OLTP logical schema in Part Iand develop ETL process to create data warehouse tablesin SSIS.
Your dimensional and fact tables should meet these requirements:
- DimDatehas DateKey values ranging from 20120901to 20130312(YYYYMMDDinteger data type). DimDateshould contain IsMartinLutherKingHolidayattribute in boolean data type, LastDayOfMonthattribute in booleandata type, and other required attributes(10points).If you use Flat File or Excel Data Source to import datekey data, include the datesource file in the submission also.
- DimEntertainershould contain entertainer's full address, entertainer's last 4 digit of SSN, entertainer's current year of active until today, and other required attributes. For example, for EntertainerID1 you should return "4110 Old Redmond Rd., Redmond, WA 98052" as full address, and 22as year of active.
- DimEntertainershould be able to handle slowly changing dimension issues.
- DimAgent should contain agent' full name and agent key. For example, "William Thompson" is a full name for AgentKey 1. This table doesn't need to handle slowly changing dimension issues.
- FactlessAgent should contain 3 keys (DateKey, AgentKey, and EngagementNumber).
Attachment:- Logical schema.rar