Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Data Warehouse and Data Mining Open Ended Lab Task

Rating
-
Sold
-
Pages
4
Uploaded on
22-09-2024
Written in
2024/2025

Data Warehouse and Data Mining Open Ended Lab Task

Institution
Course

Content preview

Open Ended Lab Task
Data Warehousing and Data Mining (Lab)
Name: Syed Hamza Jaffar Zaidi
Reg id: 52031
Instructor: Sir Sartaj Ahmed Malik


Question:
Demonstrate ETL (Extract, Transform, and Load) process step wise using SQL Server Integration
Services for the following scenario.
Methodology:
A company named Shahzain Market maintains customer data from small outlets in Excel files and
sends this data to its main branch as total sales per month. This data is necessary at the
headquarters (main branch) to track the performance of each outlet. We will collect customer
product purchase sales data from small outlets (extract) in Excel files. Since the main branch of the
company is located in the USA, we need to transform the currency into US dollars. Finally, we will
load this transformed data into a database/data warehouse.

Code:
CREATE DATABASE ShahzainMarketDB;

CREATE TABLE CustomerSales (
CustomerNo INT PRIMARY KEY NOT NULL,
CustomerName VARCHAR(255),
OrderID INT,
Product VARCHAR(255),
Quantity INT,
OrderDate INT,
Amount_PKR DECIMAL(10, 2)
);
GO

INSERT INTO CustomerSales (CustomerNo, CustomerName, OrderID, Product, Quantity,
OrderDate, Amount_PKR)
VALUES
(1501, 'John', 266868, 'Chocolate Chip', 292, 43862, 584),
(1502, 'Hussain', 140794, 'Chocolate Chip', 974, 43862, 1948),
(1503, 'Adil', 203604, 'Fortune Cookie', 921, 43891, 460.5),
(1504, 'Hassan', 830805, 'Fortune Cookie', 2518, 43983, 1259),
(1505, 'Daniyal', 138739, 'Fortune Cookie', 1899, 43983, 949.5),
(1506, 'Usman', 830819, 'Fortune Cookie', 1545, 43983, 772.5),

Written for

Institution
Course

Document information

Uploaded on
September 22, 2024
Number of pages
4
Written in
2024/2025
Type
Class notes
Professor(s)
Undefined
Contains
All classes

Subjects

$9.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
hamzazaidi

Get to know the seller

Seller avatar
hamzazaidi Iqra University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions