IMPLEMENTING
DATAWAREHOUSING
USING SQL
Project By-
Sushil Kasar.
Chandan Jha.
Note:-This project is based on scenario
given by our Institution ,you can refer the
data_source files below.
REQUIREMENT ANALYSIS DOCUMENT
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Added Graphs showing the Net Savings.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Database_Daigram
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Creating packages using SSIS.
Staging and Migrating.
A Proof of Concept.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
Datawarehousing_Project_using_MS SQL server.
SQL scripts
• Create table Vendor_Dim
(
Vendor_key int constraint pk_k primarykey,
Vendor_name nvarchar(255),
Vendor_Address nvarchar(255),
Vendor_phone int,
Vendor_state nvarchar(255)
)
• Select * from Vendor_Dim
---------------------------------------------------------------------------------------------------------
----
Create table Products_vendor_Dim
(
Product_vendor_key intconstraint Pk_pv primarykey,
Unit_selling_price int,
Discount int,
Desired_Lead_time int
)
select*from Products_vendor_Dim
• Create table products_Dim
(
product_key int constraint Pk_P primarykey,
Product_name nvarchar(255),
Subcategory nvarchar(255),
Qty_Per_unit nvarchar(255),
Unit_cost_price int,
Unit_selling_price int,
ReOrder_Level int,
ReOrder_Qty int,
Qty_on_Hand int
)
select*from products_Dim
Create table Inventory_Issued_Dim
(
Inventory_Issued_key int constraint Pk_II primarykey,
Qty_Issued int,
date_issued date,
Issued_By nvarchar(255),
Issued_to nvarchar(255)
)
Select * from Inventory_Issued_Dim
createtable Inventory_Ordered_Dim
(
Inventory_Ordered_key int constraint Pk_IO primarykey,
Date_Ordered date,
Date_Received date,
Lead_Time int,
Qty_Ordered int,
Qty_Received int,
Unit_Cost_Price int,
Qty_Deficit int,
Discount int,
After_Discount_Price int
)
Select * from Inventory_Ordered_Dim
• createtable Transaction_QOH_Dim
(
Transaction_QOH_Key intconstraint Pk_T primarykey,
Closing_QOH int,
Opening_QOH int,
Transacted_Date date,
Issued_to nvarchar(255)
)
• Select * from Transaction_QOH_Dim
• Create table Retailer_dim
(
Retailer_Key intconstraint pk_R primarykey,
Retailer_Name nvarchar(255),
Retailer_Address nvarchar(255),
Retailer_Phone int,
Retailer_state nvarchar(255),
Retailer_country nvarchar(255)
)
• Select * from Retailer_dim
Createtable Product_fact
(
Vendor_key intconstraint fkVendorkey foreignkeyreferences Vendor_Dim(vendor_key),
Product_vendor_key int constraint fkPvKey foreign key references
Products_Vendor_Dim(Product_vendor_key),
Product_key int constraint fkP foreign key references Products_Dim(Product_key),
Inventory_Issued_key int constraint fkII foreign key references
Inventory_Issued_Dim(Inventory_Issued_Key),
Inventory_Ordered_key int constraint fkIO foreign key references
Inventory_Ordered_Dim(Inventory_Ordered_Key),
Transaction_QOH_Key int constraint fkt foreign key references
Transaction_QOH_Dim(Transaction_QOH_Key),
Retailer_Key int constraint fkR foreign key references Retailer_Dim(Retailer_Key)
)
• Select * from Product_fact
THANK YOU FOR WATCHING.

More Related Content

PPTX
Accumulo Summit 2015: Ferrari on a Bumpy Road: Shock Absorbers to Smooth Out ...
PDF
patroni-based citrus high availability environment deployment
PPTX
Materialized Views and Secondary Indexes in Scylla: They Are finally here!
PPTX
Event Streaming Architectures with Confluent and ScyllaDB
PPTX
SQL Azure DB - BCDR
PDF
C* for Deep Learning (Andrew Jefferson, Tracktable) | Cassandra Summit 2016
PDF
Hadoop- A Highly Available and Secure Enterprise DataWarehousing solution
PDF
Managing Statistics for Optimal Query Performance
Accumulo Summit 2015: Ferrari on a Bumpy Road: Shock Absorbers to Smooth Out ...
patroni-based citrus high availability environment deployment
Materialized Views and Secondary Indexes in Scylla: They Are finally here!
Event Streaming Architectures with Confluent and ScyllaDB
SQL Azure DB - BCDR
C* for Deep Learning (Andrew Jefferson, Tracktable) | Cassandra Summit 2016
Hadoop- A Highly Available and Secure Enterprise DataWarehousing solution
Managing Statistics for Optimal Query Performance

Similar to Datawarehousing_Project_using_MS SQL server. (20)

PPTX
Writing efficient sql
PDF
Introduction 6.1 01_architecture_overview
DOCX
Checking clustering factor to detect row migration
PDF
BI in the Clouds (Wlodek Bielski Technology Stream)
PDF
Oracle 11g caracteristicas poco documentadas 3 en 1
PDF
New Tuning Features in Oracle 11g - How to make your database as boring as po...
PPT
Kevin Bengtson Portfolio
DOCX
Exadata - Smart Scan Testing
PPTX
Date data type and Globalization in Oracle
PPTX
Oracle 12c SPM
PPTX
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
DOC
Sql queries
PDF
Введение в современную PostgreSQL. Часть 2
PPTX
5 Cool Things About SQL
PDF
The Cost Based Optimiser in 11gR2
PDF
Developers’ mDay u Banjoj Luci - Bogdan Kecman, Oracle – MySQL Server 8.0
PDF
Developers' mDay 2017. - Bogdan Kecman Oracle
PPT
Optimizer in oracle 11g by wwf from ebay COC
PDF
MySQL 5.7 Tutorial Dutch PHP Conference 2015
Writing efficient sql
Introduction 6.1 01_architecture_overview
Checking clustering factor to detect row migration
BI in the Clouds (Wlodek Bielski Technology Stream)
Oracle 11g caracteristicas poco documentadas 3 en 1
New Tuning Features in Oracle 11g - How to make your database as boring as po...
Kevin Bengtson Portfolio
Exadata - Smart Scan Testing
Date data type and Globalization in Oracle
Oracle 12c SPM
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Sql queries
Введение в современную PostgreSQL. Часть 2
5 Cool Things About SQL
The Cost Based Optimiser in 11gR2
Developers’ mDay u Banjoj Luci - Bogdan Kecman, Oracle – MySQL Server 8.0
Developers' mDay 2017. - Bogdan Kecman Oracle
Optimizer in oracle 11g by wwf from ebay COC
MySQL 5.7 Tutorial Dutch PHP Conference 2015
Ad

More from Sushil kasar (7)

PPTX
Microsoft Power BI
PPTX
ITIL- Service operations- Incident management
PPTX
Data visualization
PPTX
Sas Statistical Analysis System
PPTX
Android
PPTX
Financial statements.
PPTX
WEB MINING.
Microsoft Power BI
ITIL- Service operations- Incident management
Data visualization
Sas Statistical Analysis System
Android
Financial statements.
WEB MINING.
Ad

Recently uploaded (20)

PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
PPTX
Education and Perspectives of Education.pptx
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Race Reva University – Shaping Future Leaders in Artificial Intelligence
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PDF
Hazard Identification & Risk Assessment .pdf
PDF
Mucosal Drug Delivery system_NDDS_BPHARMACY__SEM VII_PCI.pdf
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI .pdf
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
Education and Perspectives of Education.pptx
Uderstanding digital marketing and marketing stratergie for engaging the digi...
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Race Reva University – Shaping Future Leaders in Artificial Intelligence
AI-driven educational solutions for real-life interventions in the Philippine...
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Hazard Identification & Risk Assessment .pdf
Mucosal Drug Delivery system_NDDS_BPHARMACY__SEM VII_PCI.pdf
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
What if we spent less time fighting change, and more time building what’s rig...
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Share_Module_2_Power_conflict_and_negotiation.pptx
Journal of Dental Science - UDMY (2021).pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Core Concepts of Personalized Learning and Virtual Learning Environments
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI .pdf
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf

Datawarehousing_Project_using_MS SQL server.

  • 1. IMPLEMENTING DATAWAREHOUSING USING SQL Project By- Sushil Kasar. Chandan Jha. Note:-This project is based on scenario given by our Institution ,you can refer the data_source files below.
  • 5. Added Graphs showing the Net Savings.
  • 13. Creating packages using SSIS. Staging and Migrating. A Proof of Concept.
  • 22. SQL scripts • Create table Vendor_Dim ( Vendor_key int constraint pk_k primarykey, Vendor_name nvarchar(255), Vendor_Address nvarchar(255), Vendor_phone int, Vendor_state nvarchar(255) ) • Select * from Vendor_Dim --------------------------------------------------------------------------------------------------------- ----
  • 23. Create table Products_vendor_Dim ( Product_vendor_key intconstraint Pk_pv primarykey, Unit_selling_price int, Discount int, Desired_Lead_time int ) select*from Products_vendor_Dim
  • 24. • Create table products_Dim ( product_key int constraint Pk_P primarykey, Product_name nvarchar(255), Subcategory nvarchar(255), Qty_Per_unit nvarchar(255), Unit_cost_price int, Unit_selling_price int, ReOrder_Level int, ReOrder_Qty int, Qty_on_Hand int ) select*from products_Dim
  • 25. Create table Inventory_Issued_Dim ( Inventory_Issued_key int constraint Pk_II primarykey, Qty_Issued int, date_issued date, Issued_By nvarchar(255), Issued_to nvarchar(255) ) Select * from Inventory_Issued_Dim
  • 26. createtable Inventory_Ordered_Dim ( Inventory_Ordered_key int constraint Pk_IO primarykey, Date_Ordered date, Date_Received date, Lead_Time int, Qty_Ordered int, Qty_Received int, Unit_Cost_Price int, Qty_Deficit int, Discount int, After_Discount_Price int ) Select * from Inventory_Ordered_Dim
  • 27. • createtable Transaction_QOH_Dim ( Transaction_QOH_Key intconstraint Pk_T primarykey, Closing_QOH int, Opening_QOH int, Transacted_Date date, Issued_to nvarchar(255) ) • Select * from Transaction_QOH_Dim • Create table Retailer_dim ( Retailer_Key intconstraint pk_R primarykey, Retailer_Name nvarchar(255), Retailer_Address nvarchar(255), Retailer_Phone int, Retailer_state nvarchar(255), Retailer_country nvarchar(255) ) • Select * from Retailer_dim
  • 28. Createtable Product_fact ( Vendor_key intconstraint fkVendorkey foreignkeyreferences Vendor_Dim(vendor_key), Product_vendor_key int constraint fkPvKey foreign key references Products_Vendor_Dim(Product_vendor_key), Product_key int constraint fkP foreign key references Products_Dim(Product_key), Inventory_Issued_key int constraint fkII foreign key references Inventory_Issued_Dim(Inventory_Issued_Key), Inventory_Ordered_key int constraint fkIO foreign key references Inventory_Ordered_Dim(Inventory_Ordered_Key), Transaction_QOH_Key int constraint fkt foreign key references Transaction_QOH_Dim(Transaction_QOH_Key), Retailer_Key int constraint fkR foreign key references Retailer_Dim(Retailer_Key) ) • Select * from Product_fact
  • 29. THANK YOU FOR WATCHING.