SlideShare a Scribd company logo
1 of 6
Download to read offline
Scenario:
XYZ Corp. is a parent corporation with 2 handbag stores located in New Jersey and New York.
XYZ needs to setup a system that will gather customer data from all of the different stores and
put it into one place.
Blindly copying data files from each store is not going to be good enough most of the time.
The corporation needs to have a standardized set of data in order to analyze it.
Task:
You will need to do the following:
1. Create a DataMart Create a table called: DimXYZCustomers
Create using: DimSQLCustomers.sql
2. Build an SSIS - ETL solution to get the data from the 2 stores and load to a single data table
Review/analyze the data from all sources. Source files attached
Determine what needs to be standardized based on the requirements below.
The data collected should be changed to a standard format. For instance, the state value should
all be 2-character value such as NY, NJ etc.
Extract data from all sources
Source file 1:NJCustomers.txt
Source file 2:NYCustomers.csv
State 2 character abbreviation
First and Last names Upper case
Load to the a single data location
Note: custAcct will hold the PK of the source tables, however, CustomerKey is the PK of this
dimension (it will auto increment)
Only good data should go to the database; bad data (assume: no account number) should go to an
error log file
Add annotation to your design space
Be sure to add meaningful names to each object
ETL Project name: LastnameFirstname_Week7Assignment
What to Submit:
1. A zipped folder of the entire solution
2. Screenshot of the ETL solution and Data Warehouse created
Naming convention: firstnameLastname_Week7Assignment.zip
HINT: In addition to the objects we are familiar with, use the transformation component (can be
found in the Common toolbox) Union All
/****** Object: Table [dbo].[DimXYZCustomers] ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DimXYZCustomers](
[custAcct] [numeric](18, 0) NOT NULL,
[custFirst] [nvarchar](50) NULL,
[custLast] [nvarchar](50) NULL,
[strNum] [nvarchar](50) NULL,
[strName] [nvarchar](50) NULL,
[city] [nvarchar](50) NULL,
[state] [nvarchar](50) NULL,
[zip] [int] NULL,
[creditLimit] [money] NULL,
[CustomerKey] [numeric](18, 0) IDENTITY(1,1) NOT NULL,
CONSTRAINT [PK_DimXYZCustomers] PRIMARY KEY CLUSTERED
(
[CustomerKey] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY
= OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
Ny customers.csv
acctNum,firstName,lastName,strNum,strName, city, state, zip,creditLimit
1,Lindon,Jacobs,5, Main St,Miller Place,New York,33176,330.5
2,Charissa,Gaul,34, Azalea Ct,Mt. Sinai,NY,33266,1059
3,Alyssa,wint,22, Sweetgum Lane,Farmingdale,NY,33176,150
4,Brenda,reynolds,45 B, Rocky Rd,Uniondale,New York,33266,5459.35
5,Vishnu,Ruben,123, Candid St,Port Jefferson,NY,33176,235.33
6,Renna,Kelly,4333, Louise Lane, Brookville,New York,33266,459.5
7,Chris,Rusch,12, Main St,Hempstead,NY,33176,2150
8,Lisa,Biolsi,166, Louise Lane,Brooklyn,New Y.,33266,4459
9,Marcos,Pichardo,76, Main St,Cambria Heights,NY,33176,550
10,Randy,Butler,45, Louise Lane,Rocky Point,N.Y.,33266,1459.35
Ny customer.txt
acctNum,firstName,lastName,strNum,strName, city, state, zip,creditLimit
1,Lindon,Jacobs,5, Main St,Miller Place,New York,33176,330.5
2,Charissa,Gaul,34, Azalea Ct,Mt. Sinai,NY,33266,1059
3,Alyssa,wint,22, Sweetgum Lane,Farmingdale,NY,33176,150
4,Brenda,reynolds,45 B, Rocky Rd,Uniondale,New York,33266,5459.35
5,Vishnu,Ruben,123, Candid St,Port Jefferson,NY,33176,235.33
6,Renna,Kelly,4333, Louise Lane, Brookville,New York,33266,459.5
7,Chris,Rusch,12, Main St,Hempstead,NY,33176,2150
8,Lisa,Biolsi,166, Louise Lane,Brooklyn,New Y.,33266,4459
9,Marcos,Pichardo,76, Main St,Cambria Heights,NY,33176,550
10,Randy,Butler,45, Louise Lane,Rocky Point,N.Y.,33266,1459.35
Instructions
Scenario:
XYZ Corp. is a parent corporation with 2 handbag stores located in New Jersey and New York.
XYZ needs to setup a system that will gather customer data from all of the different stores and
put it into one place.
Blindly copying data files from each store is not going to be good enough most of the time.
The corporation needs to have a standardized set of data in order to analyze it.
Task:
You will need to do the following:
1. Create a DataMart Create a table called: DimXYZCustomers
Create using: DimSQLCustomers.sql
2. Build an SSIS - ETL solution to get the data from the 2 stores and load to a single data table
Review/analyze the data from all sources. Source files attached
Determine what needs to be standardized based on the requirements below.
The data collected should be changed to a standard format. For instance, the state value should
all be 2-character value such as NY, NJ etc.
Extract data from all sources
Source file 1:NJCustomers.txt
Source file 2:NYCustomers.csvTransform the data as follows
State 2 character abbreviation
First and Last names Upper case
Load to the a single data location
Note: custAcct will hold the PK of the source tables, however, CustomerKey is the PK of this
dimension (it will auto increment)
Only good data should go to the database; bad data (assume: no account number) should go to an
error log file
Add annotation to your design space
Be sure to add meaningful names to each object
ETL Project name: LastnameFirstname_Week7Assignment
What to Submit:
1. A zipped folder of the entire solution
2. Screenshot of the ETL solution and Data Warehouse created
Naming convention: firstnameLastname_Week7Assignment.zip
HINT: In addition to the objects we are familiar with, use the transformation component (can be
found in the Common toolbox) Union All
/****** Object: Table [dbo].[DimXYZCustomers] ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DimXYZCustomers](
[custAcct] [numeric](18, 0) NOT NULL,
[custFirst] [nvarchar](50) NULL,
[custLast] [nvarchar](50) NULL,
[strNum] [nvarchar](50) NULL,
[strName] [nvarchar](50) NULL,
[city] [nvarchar](50) NULL,
[state] [nvarchar](50) NULL,
[zip] [int] NULL,
[creditLimit] [money] NULL,
[CustomerKey] [numeric](18, 0) IDENTITY(1,1) NOT NULL,
CONSTRAINT [PK_DimXYZCustomers] PRIMARY KEY CLUSTERED
(
[CustomerKey] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY
= OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
Ny customers.csv
acctNum,firstName,lastName,strNum,strName, city, state, zip,creditLimit
1,Lindon,Jacobs,5, Main St,Miller Place,New York,33176,330.5
2,Charissa,Gaul,34, Azalea Ct,Mt. Sinai,NY,33266,1059
3,Alyssa,wint,22, Sweetgum Lane,Farmingdale,NY,33176,150
4,Brenda,reynolds,45 B, Rocky Rd,Uniondale,New York,33266,5459.35
5,Vishnu,Ruben,123, Candid St,Port Jefferson,NY,33176,235.33
6,Renna,Kelly,4333, Louise Lane, Brookville,New York,33266,459.5
7,Chris,Rusch,12, Main St,Hempstead,NY,33176,2150
8,Lisa,Biolsi,166, Louise Lane,Brooklyn,New Y.,33266,4459
9,Marcos,Pichardo,76, Main St,Cambria Heights,NY,33176,550
10,Randy,Butler,45, Louise Lane,Rocky Point,N.Y.,33266,1459.35
Ny customer.txt
acctNum,firstName,lastName,strNum,strName, city, state, zip,creditLimit
1,Lindon,Jacobs,5, Main St,Miller Place,New York,33176,330.5
2,Charissa,Gaul,34, Azalea Ct,Mt. Sinai,NY,33266,1059
3,Alyssa,wint,22, Sweetgum Lane,Farmingdale,NY,33176,150
4,Brenda,reynolds,45 B, Rocky Rd,Uniondale,New York,33266,5459.35
5,Vishnu,Ruben,123, Candid St,Port Jefferson,NY,33176,235.33
6,Renna,Kelly,4333, Louise Lane, Brookville,New York,33266,459.5
7,Chris,Rusch,12, Main St,Hempstead,NY,33176,2150
8,Lisa,Biolsi,166, Louise Lane,Brooklyn,New Y.,33266,4459
9,Marcos,Pichardo,76, Main St,Cambria Heights,NY,33176,550
10,Randy,Butler,45, Louise Lane,Rocky Point,N.Y.,33266,1459.35

More Related Content

Similar to ScenarioXYZ Corp. is a parent corporation with 2 handbag stores l.pdf

Apache Calcite Tutorial - BOSS 21
Apache Calcite Tutorial - BOSS 21Apache Calcite Tutorial - BOSS 21
Apache Calcite Tutorial - BOSS 21Stamatis Zampetakis
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docxLab 2 Work with Dictionary and Create Relational Database (60 pts.docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docxDIPESH30
 
Intake 38 data access 5
Intake 38 data access 5Intake 38 data access 5
Intake 38 data access 5Mahmoud Ouf
 
Multiple files single target single interface
Multiple files single target single interfaceMultiple files single target single interface
Multiple files single target single interfaceDharmaraj Borse
 
Air Line Management System | DBMS project
Air Line Management System | DBMS projectAir Line Management System | DBMS project
Air Line Management System | DBMS projectAniketHandore
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studioAravindharamanan S
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studioAravindharamanan S
 
Custom Star Creation for Ellucain's Enterprise Data Warehouse
Custom Star Creation for Ellucain's Enterprise Data WarehouseCustom Star Creation for Ellucain's Enterprise Data Warehouse
Custom Star Creation for Ellucain's Enterprise Data WarehouseBryan L. Mack
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introductionSmriti Jain
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxLab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxVinaOconner450
 
Preethi apex-basics-jan19
Preethi apex-basics-jan19Preethi apex-basics-jan19
Preethi apex-basics-jan19Preethi Harris
 

Similar to ScenarioXYZ Corp. is a parent corporation with 2 handbag stores l.pdf (20)

Sql
SqlSql
Sql
 
SetFocus Portfolio
SetFocus PortfolioSetFocus Portfolio
SetFocus Portfolio
 
Apache Calcite Tutorial - BOSS 21
Apache Calcite Tutorial - BOSS 21Apache Calcite Tutorial - BOSS 21
Apache Calcite Tutorial - BOSS 21
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docxLab 2 Work with Dictionary and Create Relational Database (60 pts.docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docx
 
Intake 38 data access 5
Intake 38 data access 5Intake 38 data access 5
Intake 38 data access 5
 
Multiple files single target single interface
Multiple files single target single interfaceMultiple files single target single interface
Multiple files single target single interface
 
Android sql examples
Android sql examplesAndroid sql examples
Android sql examples
 
Physical Design and Development
Physical Design and DevelopmentPhysical Design and Development
Physical Design and Development
 
SQL
SQLSQL
SQL
 
Air Line Management System | DBMS project
Air Line Management System | DBMS projectAir Line Management System | DBMS project
Air Line Management System | DBMS project
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
 
Custom Star Creation for Ellucain's Enterprise Data Warehouse
Custom Star Creation for Ellucain's Enterprise Data WarehouseCustom Star Creation for Ellucain's Enterprise Data Warehouse
Custom Star Creation for Ellucain's Enterprise Data Warehouse
 
Intake 37 ef2
Intake 37 ef2Intake 37 ef2
Intake 37 ef2
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxLab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
 
Preethi apex-basics-jan19
Preethi apex-basics-jan19Preethi apex-basics-jan19
Preethi apex-basics-jan19
 
MySQL Presentation
MySQL PresentationMySQL Presentation
MySQL Presentation
 
Dbms lab Manual
Dbms lab ManualDbms lab Manual
Dbms lab Manual
 
Sql server-function
Sql server-functionSql server-function
Sql server-function
 

More from alokindustries1

Select the TRUE statement Group of answer choicesA. An arthropod�.pdf
Select the TRUE statement Group of answer choicesA. An arthropod�.pdfSelect the TRUE statement Group of answer choicesA. An arthropod�.pdf
Select the TRUE statement Group of answer choicesA. An arthropod�.pdfalokindustries1
 
Select one of the scenarios listed below and explain the best soluti.pdf
Select one of the scenarios listed below and explain the best soluti.pdfSelect one of the scenarios listed below and explain the best soluti.pdf
Select one of the scenarios listed below and explain the best soluti.pdfalokindustries1
 
Select the combination of the following statements relating to sourc.pdf
Select the combination of the following statements relating to sourc.pdfSelect the combination of the following statements relating to sourc.pdf
Select the combination of the following statements relating to sourc.pdfalokindustries1
 
select each of the following which relate to the term homozygous .pdf
select each of the following which relate to the term homozygous  .pdfselect each of the following which relate to the term homozygous  .pdf
select each of the following which relate to the term homozygous .pdfalokindustries1
 
Select the combination of the following statements regarding stakeho.pdf
Select the combination of the following statements regarding stakeho.pdfSelect the combination of the following statements regarding stakeho.pdf
Select the combination of the following statements regarding stakeho.pdfalokindustries1
 
select each of the following which relate to the term heterozygous.pdf
select each of the following which relate to the term heterozygous.pdfselect each of the following which relate to the term heterozygous.pdf
select each of the following which relate to the term heterozygous.pdfalokindustries1
 
Select all that are true regarding Economic Value Added (EVA) a) .pdf
Select all that are true regarding Economic Value Added (EVA) a) .pdfSelect all that are true regarding Economic Value Added (EVA) a) .pdf
Select all that are true regarding Economic Value Added (EVA) a) .pdfalokindustries1
 
Select the case that would most likely be filed under disparate impa.pdf
Select the case that would most likely be filed under disparate impa.pdfSelect the case that would most likely be filed under disparate impa.pdf
Select the case that would most likely be filed under disparate impa.pdfalokindustries1
 
Select all that are true about plasmid DNA.a.The DNA in plasmids.pdf
Select all that are true about plasmid DNA.a.The DNA in plasmids.pdfSelect all that are true about plasmid DNA.a.The DNA in plasmids.pdf
Select all that are true about plasmid DNA.a.The DNA in plasmids.pdfalokindustries1
 
Select a current event (local or international) that is relevant to .pdf
Select a current event (local or international) that is relevant to .pdfSelect a current event (local or international) that is relevant to .pdf
Select a current event (local or international) that is relevant to .pdfalokindustries1
 
Seleccione SOLO UNO de los siguientes Objetivos de Desarrollo Sosten.pdf
Seleccione SOLO UNO de los siguientes Objetivos de Desarrollo Sosten.pdfSeleccione SOLO UNO de los siguientes Objetivos de Desarrollo Sosten.pdf
Seleccione SOLO UNO de los siguientes Objetivos de Desarrollo Sosten.pdfalokindustries1
 
Seleccione todas las cualidades que pertenecen a los sistemas parlam.pdf
Seleccione todas las cualidades que pertenecen a los sistemas parlam.pdfSeleccione todas las cualidades que pertenecen a los sistemas parlam.pdf
Seleccione todas las cualidades que pertenecen a los sistemas parlam.pdfalokindustries1
 
Seleccione la declaraci�n FALSA de las siguientes A. Trabajar con o.pdf
Seleccione la declaraci�n FALSA de las siguientes A. Trabajar con o.pdfSeleccione la declaraci�n FALSA de las siguientes A. Trabajar con o.pdf
Seleccione la declaraci�n FALSA de las siguientes A. Trabajar con o.pdfalokindustries1
 
Seismic waves travel faster when the rock is less stiff.A) TrueB.pdf
Seismic waves travel faster when the rock is less stiff.A) TrueB.pdfSeismic waves travel faster when the rock is less stiff.A) TrueB.pdf
Seismic waves travel faster when the rock is less stiff.A) TrueB.pdfalokindustries1
 
Seg�n TCPS 2, �qu� es la investigaci�n de riesgo m�nimo (seleccione .pdf
Seg�n TCPS 2, �qu� es la investigaci�n de riesgo m�nimo (seleccione .pdfSeg�n TCPS 2, �qu� es la investigaci�n de riesgo m�nimo (seleccione .pdf
Seg�n TCPS 2, �qu� es la investigaci�n de riesgo m�nimo (seleccione .pdfalokindustries1
 
Seg�n Juan Linz (1990), �c�mo los sistemas presidenciales crean disc.pdf
Seg�n Juan Linz (1990), �c�mo los sistemas presidenciales crean disc.pdfSeg�n Juan Linz (1990), �c�mo los sistemas presidenciales crean disc.pdf
Seg�n Juan Linz (1990), �c�mo los sistemas presidenciales crean disc.pdfalokindustries1
 
Seg�n Holton en la fuente 1, �cu�les fueron los motivos de los padre.pdf
Seg�n Holton en la fuente 1, �cu�les fueron los motivos de los padre.pdfSeg�n Holton en la fuente 1, �cu�les fueron los motivos de los padre.pdf
Seg�n Holton en la fuente 1, �cu�les fueron los motivos de los padre.pdfalokindustries1
 
Seg�n el texto, �qu� es un factor Persona a la que se le da autori.pdf
Seg�n el texto, �qu� es un factor  Persona a la que se le da autori.pdfSeg�n el texto, �qu� es un factor  Persona a la que se le da autori.pdf
Seg�n el texto, �qu� es un factor Persona a la que se le da autori.pdfalokindustries1
 
Security X has an actual rate of return of 11.8 and a beta of 0.72..pdf
Security X has an actual rate of return of 11.8 and a beta of 0.72..pdfSecurity X has an actual rate of return of 11.8 and a beta of 0.72..pdf
Security X has an actual rate of return of 11.8 and a beta of 0.72..pdfalokindustries1
 
Seg�n el C�digo y las Normas, �cu�l de las siguientes afirmaciones c.pdf
Seg�n el C�digo y las Normas, �cu�l de las siguientes afirmaciones c.pdfSeg�n el C�digo y las Normas, �cu�l de las siguientes afirmaciones c.pdf
Seg�n el C�digo y las Normas, �cu�l de las siguientes afirmaciones c.pdfalokindustries1
 

More from alokindustries1 (20)

Select the TRUE statement Group of answer choicesA. An arthropod�.pdf
Select the TRUE statement Group of answer choicesA. An arthropod�.pdfSelect the TRUE statement Group of answer choicesA. An arthropod�.pdf
Select the TRUE statement Group of answer choicesA. An arthropod�.pdf
 
Select one of the scenarios listed below and explain the best soluti.pdf
Select one of the scenarios listed below and explain the best soluti.pdfSelect one of the scenarios listed below and explain the best soluti.pdf
Select one of the scenarios listed below and explain the best soluti.pdf
 
Select the combination of the following statements relating to sourc.pdf
Select the combination of the following statements relating to sourc.pdfSelect the combination of the following statements relating to sourc.pdf
Select the combination of the following statements relating to sourc.pdf
 
select each of the following which relate to the term homozygous .pdf
select each of the following which relate to the term homozygous  .pdfselect each of the following which relate to the term homozygous  .pdf
select each of the following which relate to the term homozygous .pdf
 
Select the combination of the following statements regarding stakeho.pdf
Select the combination of the following statements regarding stakeho.pdfSelect the combination of the following statements regarding stakeho.pdf
Select the combination of the following statements regarding stakeho.pdf
 
select each of the following which relate to the term heterozygous.pdf
select each of the following which relate to the term heterozygous.pdfselect each of the following which relate to the term heterozygous.pdf
select each of the following which relate to the term heterozygous.pdf
 
Select all that are true regarding Economic Value Added (EVA) a) .pdf
Select all that are true regarding Economic Value Added (EVA) a) .pdfSelect all that are true regarding Economic Value Added (EVA) a) .pdf
Select all that are true regarding Economic Value Added (EVA) a) .pdf
 
Select the case that would most likely be filed under disparate impa.pdf
Select the case that would most likely be filed under disparate impa.pdfSelect the case that would most likely be filed under disparate impa.pdf
Select the case that would most likely be filed under disparate impa.pdf
 
Select all that are true about plasmid DNA.a.The DNA in plasmids.pdf
Select all that are true about plasmid DNA.a.The DNA in plasmids.pdfSelect all that are true about plasmid DNA.a.The DNA in plasmids.pdf
Select all that are true about plasmid DNA.a.The DNA in plasmids.pdf
 
Select a current event (local or international) that is relevant to .pdf
Select a current event (local or international) that is relevant to .pdfSelect a current event (local or international) that is relevant to .pdf
Select a current event (local or international) that is relevant to .pdf
 
Seleccione SOLO UNO de los siguientes Objetivos de Desarrollo Sosten.pdf
Seleccione SOLO UNO de los siguientes Objetivos de Desarrollo Sosten.pdfSeleccione SOLO UNO de los siguientes Objetivos de Desarrollo Sosten.pdf
Seleccione SOLO UNO de los siguientes Objetivos de Desarrollo Sosten.pdf
 
Seleccione todas las cualidades que pertenecen a los sistemas parlam.pdf
Seleccione todas las cualidades que pertenecen a los sistemas parlam.pdfSeleccione todas las cualidades que pertenecen a los sistemas parlam.pdf
Seleccione todas las cualidades que pertenecen a los sistemas parlam.pdf
 
Seleccione la declaraci�n FALSA de las siguientes A. Trabajar con o.pdf
Seleccione la declaraci�n FALSA de las siguientes A. Trabajar con o.pdfSeleccione la declaraci�n FALSA de las siguientes A. Trabajar con o.pdf
Seleccione la declaraci�n FALSA de las siguientes A. Trabajar con o.pdf
 
Seismic waves travel faster when the rock is less stiff.A) TrueB.pdf
Seismic waves travel faster when the rock is less stiff.A) TrueB.pdfSeismic waves travel faster when the rock is less stiff.A) TrueB.pdf
Seismic waves travel faster when the rock is less stiff.A) TrueB.pdf
 
Seg�n TCPS 2, �qu� es la investigaci�n de riesgo m�nimo (seleccione .pdf
Seg�n TCPS 2, �qu� es la investigaci�n de riesgo m�nimo (seleccione .pdfSeg�n TCPS 2, �qu� es la investigaci�n de riesgo m�nimo (seleccione .pdf
Seg�n TCPS 2, �qu� es la investigaci�n de riesgo m�nimo (seleccione .pdf
 
Seg�n Juan Linz (1990), �c�mo los sistemas presidenciales crean disc.pdf
Seg�n Juan Linz (1990), �c�mo los sistemas presidenciales crean disc.pdfSeg�n Juan Linz (1990), �c�mo los sistemas presidenciales crean disc.pdf
Seg�n Juan Linz (1990), �c�mo los sistemas presidenciales crean disc.pdf
 
Seg�n Holton en la fuente 1, �cu�les fueron los motivos de los padre.pdf
Seg�n Holton en la fuente 1, �cu�les fueron los motivos de los padre.pdfSeg�n Holton en la fuente 1, �cu�les fueron los motivos de los padre.pdf
Seg�n Holton en la fuente 1, �cu�les fueron los motivos de los padre.pdf
 
Seg�n el texto, �qu� es un factor Persona a la que se le da autori.pdf
Seg�n el texto, �qu� es un factor  Persona a la que se le da autori.pdfSeg�n el texto, �qu� es un factor  Persona a la que se le da autori.pdf
Seg�n el texto, �qu� es un factor Persona a la que se le da autori.pdf
 
Security X has an actual rate of return of 11.8 and a beta of 0.72..pdf
Security X has an actual rate of return of 11.8 and a beta of 0.72..pdfSecurity X has an actual rate of return of 11.8 and a beta of 0.72..pdf
Security X has an actual rate of return of 11.8 and a beta of 0.72..pdf
 
Seg�n el C�digo y las Normas, �cu�l de las siguientes afirmaciones c.pdf
Seg�n el C�digo y las Normas, �cu�l de las siguientes afirmaciones c.pdfSeg�n el C�digo y las Normas, �cu�l de las siguientes afirmaciones c.pdf
Seg�n el C�digo y las Normas, �cu�l de las siguientes afirmaciones c.pdf
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

ScenarioXYZ Corp. is a parent corporation with 2 handbag stores l.pdf

  • 1. Scenario: XYZ Corp. is a parent corporation with 2 handbag stores located in New Jersey and New York. XYZ needs to setup a system that will gather customer data from all of the different stores and put it into one place. Blindly copying data files from each store is not going to be good enough most of the time. The corporation needs to have a standardized set of data in order to analyze it. Task: You will need to do the following: 1. Create a DataMart Create a table called: DimXYZCustomers Create using: DimSQLCustomers.sql 2. Build an SSIS - ETL solution to get the data from the 2 stores and load to a single data table Review/analyze the data from all sources. Source files attached Determine what needs to be standardized based on the requirements below. The data collected should be changed to a standard format. For instance, the state value should all be 2-character value such as NY, NJ etc. Extract data from all sources Source file 1:NJCustomers.txt Source file 2:NYCustomers.csv State 2 character abbreviation First and Last names Upper case Load to the a single data location Note: custAcct will hold the PK of the source tables, however, CustomerKey is the PK of this dimension (it will auto increment) Only good data should go to the database; bad data (assume: no account number) should go to an error log file Add annotation to your design space Be sure to add meaningful names to each object ETL Project name: LastnameFirstname_Week7Assignment What to Submit: 1. A zipped folder of the entire solution 2. Screenshot of the ETL solution and Data Warehouse created Naming convention: firstnameLastname_Week7Assignment.zip HINT: In addition to the objects we are familiar with, use the transformation component (can be found in the Common toolbox) Union All
  • 2. /****** Object: Table [dbo].[DimXYZCustomers] ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[DimXYZCustomers]( [custAcct] [numeric](18, 0) NOT NULL, [custFirst] [nvarchar](50) NULL, [custLast] [nvarchar](50) NULL, [strNum] [nvarchar](50) NULL, [strName] [nvarchar](50) NULL, [city] [nvarchar](50) NULL, [state] [nvarchar](50) NULL, [zip] [int] NULL, [creditLimit] [money] NULL, [CustomerKey] [numeric](18, 0) IDENTITY(1,1) NOT NULL, CONSTRAINT [PK_DimXYZCustomers] PRIMARY KEY CLUSTERED ( [CustomerKey] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO Ny customers.csv acctNum,firstName,lastName,strNum,strName, city, state, zip,creditLimit 1,Lindon,Jacobs,5, Main St,Miller Place,New York,33176,330.5 2,Charissa,Gaul,34, Azalea Ct,Mt. Sinai,NY,33266,1059 3,Alyssa,wint,22, Sweetgum Lane,Farmingdale,NY,33176,150 4,Brenda,reynolds,45 B, Rocky Rd,Uniondale,New York,33266,5459.35 5,Vishnu,Ruben,123, Candid St,Port Jefferson,NY,33176,235.33 6,Renna,Kelly,4333, Louise Lane, Brookville,New York,33266,459.5 7,Chris,Rusch,12, Main St,Hempstead,NY,33176,2150 8,Lisa,Biolsi,166, Louise Lane,Brooklyn,New Y.,33266,4459
  • 3. 9,Marcos,Pichardo,76, Main St,Cambria Heights,NY,33176,550 10,Randy,Butler,45, Louise Lane,Rocky Point,N.Y.,33266,1459.35 Ny customer.txt acctNum,firstName,lastName,strNum,strName, city, state, zip,creditLimit 1,Lindon,Jacobs,5, Main St,Miller Place,New York,33176,330.5 2,Charissa,Gaul,34, Azalea Ct,Mt. Sinai,NY,33266,1059 3,Alyssa,wint,22, Sweetgum Lane,Farmingdale,NY,33176,150 4,Brenda,reynolds,45 B, Rocky Rd,Uniondale,New York,33266,5459.35 5,Vishnu,Ruben,123, Candid St,Port Jefferson,NY,33176,235.33 6,Renna,Kelly,4333, Louise Lane, Brookville,New York,33266,459.5 7,Chris,Rusch,12, Main St,Hempstead,NY,33176,2150 8,Lisa,Biolsi,166, Louise Lane,Brooklyn,New Y.,33266,4459 9,Marcos,Pichardo,76, Main St,Cambria Heights,NY,33176,550 10,Randy,Butler,45, Louise Lane,Rocky Point,N.Y.,33266,1459.35 Instructions Scenario: XYZ Corp. is a parent corporation with 2 handbag stores located in New Jersey and New York. XYZ needs to setup a system that will gather customer data from all of the different stores and put it into one place. Blindly copying data files from each store is not going to be good enough most of the time. The corporation needs to have a standardized set of data in order to analyze it. Task: You will need to do the following: 1. Create a DataMart Create a table called: DimXYZCustomers Create using: DimSQLCustomers.sql 2. Build an SSIS - ETL solution to get the data from the 2 stores and load to a single data table Review/analyze the data from all sources. Source files attached Determine what needs to be standardized based on the requirements below. The data collected should be changed to a standard format. For instance, the state value should all be 2-character value such as NY, NJ etc. Extract data from all sources Source file 1:NJCustomers.txt Source file 2:NYCustomers.csvTransform the data as follows
  • 4. State 2 character abbreviation First and Last names Upper case Load to the a single data location Note: custAcct will hold the PK of the source tables, however, CustomerKey is the PK of this dimension (it will auto increment) Only good data should go to the database; bad data (assume: no account number) should go to an error log file Add annotation to your design space Be sure to add meaningful names to each object ETL Project name: LastnameFirstname_Week7Assignment What to Submit: 1. A zipped folder of the entire solution 2. Screenshot of the ETL solution and Data Warehouse created Naming convention: firstnameLastname_Week7Assignment.zip HINT: In addition to the objects we are familiar with, use the transformation component (can be found in the Common toolbox) Union All /****** Object: Table [dbo].[DimXYZCustomers] ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[DimXYZCustomers]( [custAcct] [numeric](18, 0) NOT NULL, [custFirst] [nvarchar](50) NULL, [custLast] [nvarchar](50) NULL, [strNum] [nvarchar](50) NULL, [strName] [nvarchar](50) NULL, [city] [nvarchar](50) NULL, [state] [nvarchar](50) NULL, [zip] [int] NULL, [creditLimit] [money] NULL, [CustomerKey] [numeric](18, 0) IDENTITY(1,1) NOT NULL, CONSTRAINT [PK_DimXYZCustomers] PRIMARY KEY CLUSTERED
  • 5. ( [CustomerKey] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO Ny customers.csv acctNum,firstName,lastName,strNum,strName, city, state, zip,creditLimit 1,Lindon,Jacobs,5, Main St,Miller Place,New York,33176,330.5 2,Charissa,Gaul,34, Azalea Ct,Mt. Sinai,NY,33266,1059 3,Alyssa,wint,22, Sweetgum Lane,Farmingdale,NY,33176,150 4,Brenda,reynolds,45 B, Rocky Rd,Uniondale,New York,33266,5459.35 5,Vishnu,Ruben,123, Candid St,Port Jefferson,NY,33176,235.33 6,Renna,Kelly,4333, Louise Lane, Brookville,New York,33266,459.5 7,Chris,Rusch,12, Main St,Hempstead,NY,33176,2150 8,Lisa,Biolsi,166, Louise Lane,Brooklyn,New Y.,33266,4459 9,Marcos,Pichardo,76, Main St,Cambria Heights,NY,33176,550 10,Randy,Butler,45, Louise Lane,Rocky Point,N.Y.,33266,1459.35 Ny customer.txt acctNum,firstName,lastName,strNum,strName, city, state, zip,creditLimit 1,Lindon,Jacobs,5, Main St,Miller Place,New York,33176,330.5 2,Charissa,Gaul,34, Azalea Ct,Mt. Sinai,NY,33266,1059
  • 6. 3,Alyssa,wint,22, Sweetgum Lane,Farmingdale,NY,33176,150 4,Brenda,reynolds,45 B, Rocky Rd,Uniondale,New York,33266,5459.35 5,Vishnu,Ruben,123, Candid St,Port Jefferson,NY,33176,235.33 6,Renna,Kelly,4333, Louise Lane, Brookville,New York,33266,459.5 7,Chris,Rusch,12, Main St,Hempstead,NY,33176,2150 8,Lisa,Biolsi,166, Louise Lane,Brooklyn,New Y.,33266,4459 9,Marcos,Pichardo,76, Main St,Cambria Heights,NY,33176,550 10,Randy,Butler,45, Louise Lane,Rocky Point,N.Y.,33266,1459.35