DTS Lab E Using The Transform Data Task
DTS Lab E Using The Transform Data Task
Exercise 1
Loading Customer_dim
Open up the Lab E starter package
.1 Right-click the Data Transformation Services folder, and then click Open
Package.
.2 In the Select File dialog box, type
C:\BITechnicalTraining\DTS\Packages\Lab E.dts in the File name box,
and then click Open.
.3 In the Select Package dialog box, double-click customer_dim.
Note
To create transformations
In this procedure, create transformations to load the customer_dim dimension.
The following summary table defines the source to destination column
mappings to load the customer_dim dimension.
The steps below the table define how to implement these transformations.
Northwind source
Table
Column
Customer_dim
destination
Transformation
requirements
-----
-----
customer_dim_key
-----
Customers
CustomerID
customer_id_app
Direct Mapping
Customers
CustomerName
customer_name
Direct Mapping
Customers
BillAddress
bill_address
Direct Mapping
Customers
BillCity
bill_city
Direct Mapping
Customers
BillRegion
bill_region
Uppercase
Customers
BillPostalCode
bill_postal_code
Direct Mapping
Customers
BillCountry
bill_country
Direct Mapping
Orders
ShipAddress
ship_address
Direct Mapping
Orders
ShipCity
ship_city
Direct Mapping
Orders
ShipRegion
ship_region
Uppercase
Orders
ShipPostalCode
ship_postal_code
Direct Mapping
Orders
ShipCountry
ship_country
ActiveX
Value
Package name
customer_dim
Location
SQL Server
4
SELECT * FROM customer_dim
Value
customer_dim_key
customer_id_app
ALFKI
customer_name
Alfreds Futterkiste
bill_address
Obere Str. 57
bill_city
Berlin
bill_region
NULL
bill_postal_code
12209
bill_country
Germany
ship_address
Obere Str. 57
ship_city
Berlin
ship_region
NULL
ship_postal_code
12209
ship_country
Germany