The document discusses several Extract, Transform, Load (ETL) applications including Pentaho Enterprise Data Integration Edition, Talend Open Studio, Microsoft SQL Server Integration Services 2008 and 2012, and Oracle SQL Developer Data Migration Utility. It provides details on extracting data from a Sybase SQL Anywhere12 database using Pentaho and outputting it to text, Excel, and XML files. The extract includes sample output from the text, Excel, and XML files.
14. 13
1. Extract data from Sybase SQL Anywhere12 Adventure Works database server and dump the
data into a XML, text and Excel File. The task will contain five components which are Table Input,
Microsoft Excel Output, Text File Output, Add XML and XML Output as illustrated below.
Table Input
The table input contains the query to retrieve the data from the database. I have renamed the step
name to Customer Table to reflect the name of the data being extracted. The connection has a drop
15. 14
down arrow which allows me to select from lists of established database or data source. I placed a limit
to increase the processing time.
The preview options allow developers to preview the data in real time. They can specify the number of
rows returned for preview. I am new to this ETL application and is much different compared to SSIS.
Text FileOuput
16. 15
The text file output works like the Microsoft SSIS File component. The only difference is that the user
does not used variables to specify extensions to the file name as illustrated below to distinguish each
generated files from old files. The developer has to check one of the boxes to specify their criteria for
file naming standard.
17. 16
The fields tab allows developer to format the destination output
Add XML
Allows developers to specify their encoding format, root xml element like auto, root etc and output
structure
18. 17
XML Ouput
This components works like the text output file. The developer has to specify the filename and other
criteria.
19. 18
Microsoft Excel Output
This component has multiple parts to format the data according to specifications that matches to Excel
destination.
25. 24
<Row><CUSTOMERID>29825</CUSTOMERID><OrderDate>07/01/01</OrderDate><DueDate>07/13/01</DueDate><ShipDate>07/08/01</ShipDate><CountryRegionCode>US</CountryRegionCode><Sales
OrderNumber>SO43659</SalesOrderNumber><ProductID>771</ProductID><ProductName>Mountain-100 Silver, 38</ProductName><FREIGHT> 616.0984</FREIGHT><TAXAMT> 1971.5149</TAXAMT><SUBTOTAL>
24643.9362</SUBTOTAL><TOTALDUE> 27231.5495</TOTALDUE><TerritoryID> 5</TerritoryID><TerritoryName>Southeast</TerritoryName><TerritoryGroup>North America</TerritoryGroup></Row>
<Row><CUSTOMERID>29825</CUSTOMERID><OrderDate>07/01/01</OrderDate><DueDate>07/13/01</DueDate><ShipDate>07/08/01</ShipDate><CountryRegionCode>US</CountryRegionCode><Sales
OrderNumber>SO43659</SalesOrderNumber><ProductID>772</ProductID><ProductName>Mountain-100 Silver, 42</ProductName><FREIGHT> 616.0984</FREIGHT><TAXAMT> 1971.5149</TAXAMT><SUBTOTAL>
24643.9362</SUBTOTAL><TOTALDUE> 27231.5495</TOTALDUE><TerritoryID> 5</TerritoryID><TerritoryName>Southeast</TerritoryName><TerritoryGroup>North America</TerritoryGroup></Row>
<Row><CUSTOMERID>29825</CUSTOMERID><OrderDate>07/01/01</OrderDate><DueDate>07/13/01</DueDate><ShipDate>07/08/01</ShipDate><CountryRegionCode>US</CountryRegionCode><Sales
OrderNumber>SO43659</SalesOrderNumber><ProductID>773</ProductID><ProductName>Mountain-100 Silver, 44</ProductName><FREIGHT> 616.0984</FREIGHT><TAXAMT> 1971.5149</TAXAMT><SUBTOTAL>
24643.9362</SUBTOTAL><TOTALDUE> 27231.5495</TOTALDUE><TerritoryID> 5</TerritoryID><TerritoryName>Southeast</TerritoryName><TerritoryGroup>North America</TerritoryGroup></Row>
<Row><CUSTOMERID>29825</CUSTOMERID><OrderDate>07/01/01</OrderDate><DueDate>07/13/01</DueDate><ShipDate>07/08/01</ShipDate><CountryRegionCode>US</CountryRegionCode><Sales
OrderNumber>SO43659</SalesOrderNumber><ProductID>774</ProductID><ProductName>Mountain-100 Silver, 48</ProductName><FREIGHT> 616.0984</FREIGHT><TAXAMT> 1971.5149</TAXAMT><SUBTOTAL>
24643.9362</SUBTOTAL><TOTALDUE> 27231.5495</TOTALDUE><TerritoryID> 5</TerritoryID><TerritoryName>Southeast</TerritoryName><TerritoryGroup>North America</TerritoryGroup></Row>
<Row><CUSTOMERID>29825</CUSTOMERID><OrderDate>07/01/01</OrderDate><DueDate>07/13/01</DueDate><ShipDate>07/08/01</ShipDate><CountryRegionCode>US</CountryRegionCode><Sales
OrderNumber>SO43659</SalesOrderNumber><ProductID>714</ProductID><ProductName>Long-Sleeve Logo Jersey, M</ProductName><FREIGHT> 616.0984</FREIGHT><TAXAMT> 1971.5149</TAXAMT><SUBTOTAL>
24643.9362</SUBTOTAL><TOTALDUE> 27231.5495</TOTALDUE><TerritoryID> 5</TerritoryID><TerritoryName>Southeast</TerritoryName><TerritoryGroup>North America</TerritoryGroup></Row>
Results Abridged
I am new to this application, I would later discover how to resolve the date mapping for XML.
26. 25
Talend Open Studio
Database Systems: MYSQL 5.6
Task:
Extract data from the database with customer information and payment history which will include sum
and countinformation of each amount paid.
Step 1
Create view in the database.
27. 26
Step 2
Using Talend Open Studio design the ETL job with components that will connect to the database and
extract the data
tMYSQLInput Component
Contains the database connection to MYSQL 5.6
Database Connection
28. 27
Guess schema allows the mapping of the columns to the database source.
The SQL Builder allows the developer to view SQL Statements.
29. 28
The connector between Tmysqlinput_1 and the aggregation component allows developers to create
new columns that would hold the aggregation data as illustrated below.
31. 30
The connector between the destinations contains the columns required to complete the mapping
process after the aggregation process. Using the Edit Schema maps the columns respectively as
illustrated below.
33. 32
This component allows developers to specify requirements for the Excel destination including column
mapping using edit schema as illustrated below.
Customer sales file extract
34. 33
customer_id store_id Cust_Name address address2 phone city postal_code country amount payment_date Sum_Payment Count_Payment
2 0 $0.00 $128.73 27
4 0 $0.00 $81.78 22
1 0 $0.00 $118.68 32
3 0 $0.00 $135.74 26
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $4.99 27-05-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $2.99 17-06-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $2.99 10-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $6.99 10-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $4.99 27-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $5.99 27-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $5.99 27-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $5.99 29-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $2.99 29-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $5.99 29-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $4.99 30-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $10.99 30-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $0.99 30-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $6.99 30-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $6.99 30-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $2.99 31-07-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $0.99 01-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $0.99 02-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $5.99 02-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $6.99 02-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $2.99 02-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $2.99 17-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $2.99 19-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $4.99 21-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $5.99 21-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $4.99 22-08-2005 $0.00
2 1 JOHNSON,PATRICIA 1121 Loja Avenue 838635286649 San Bernardino 17886 United States $4.99 23-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $4.99 15-06-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $0.99 16-06-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $2.99 16-06-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $0.99 16-06-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $0.99 17-06-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $5.99 19-06-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $2.99 28-07-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $2.99 28-07-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $3.99 29-07-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $5.99 30-07-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $5.99 30-07-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $0.99 02-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $2.99 02-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $4.99 17-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $2.99 18-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $8.99 18-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $1.99 19-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $2.99 20-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $6.99 20-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $4.99 21-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $2.99 22-08-2005 $0.00
4 2 JONES,BARBARA 1566 Inegl Manor 705814003527 Myingyan 53561 Myanmar $1.99 23-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $2.99 25-05-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 28-05-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $5.99 15-06-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 15-06-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $9.99 15-06-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $4.99 16-06-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $4.99 18-06-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 18-06-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $3.99 21-06-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $5.99 08-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $5.99 08-07-2005 $0.00
35. 34
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $4.99 09-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $4.99 09-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $7.99 11-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $2.99 27-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $4.99 28-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $4.99 28-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 28-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 28-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $2.99 29-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $2.99 31-07-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $4.99 01-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $3.99 02-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 02-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $4.99 17-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 18-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 19-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $2.99 19-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $0.99 21-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $1.99 22-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $2.99 22-08-2005 $0.00
1 1 SMITH,MARY 1913 Hanoi Way 28303384290 Sasebo 35200 Japan $5.99 22-08-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $1.99 27-05-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $2.99 29-05-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $8.99 16-06-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $6.99 16-06-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $6.99 17-06-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $2.99 19-06-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $4.99 07-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $4.99 08-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $5.99 27-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $10.99 27-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $7.99 28-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $6.99 28-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $4.99 28-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $4.99 28-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $2.99 29-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $1.99 30-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $3.99 30-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $2.99 31-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $4.99 31-07-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $5.99 01-08-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $4.99 18-08-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $8.99 19-08-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $2.99 20-08-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $8.99 21-08-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $0.99 22-08-2005 $0.00
3 1 WILLIAMS,LINDA 692 Joliet Street 448477190408 Athenai 83579 Greece $2.99 23-08-2005 $0.00
Result Abridged
36. 35
Microsoft SQL Server Integration Services 2008
Database Systems: Oracle 11g, Microsoft SQL Server 2008 R2 and 2012
Task
Create view to contain customer information relating to sales history (sales order number, tax, amount
paid etc). The data will be dumped into an Oracle Database using Oracle Client for Microsoft Visual
Studio, text file and SQL Server 2012.
37. 36
View Creation
View Verification
SSIS Package
Few technical problems with Microsoft Visual Studio 2010 forced me to switch to Microsoft Visual
Studio 2008 for Business Intelligence Development.
38. 37
Microsoft SSIS Package
Execution Phase
Design Stage
SQL Server Database 2008 R2
This component contains the database configuration needed to extract the data
40. 39
Multicast Component
This component acts like a copy machine that directs the output data from the aggregation component
to various components.
Derived Column Component
This component allows developers to add new columns to the package. In this task, a created date
column would be added to output that would allow users to know when a particular data is loaded into
the database.
41. 40
DataConversion Component
This component allows developers to map the Input and Output columns to a specific data type and
sizes based on the database specification. Both the Oracle data conversion were identical with exception
of the created date for SQL Server 2012.
Database Destination Components
This component contains the database destination. Oracle and SQL Server uses different connection
parameters to establish connection with exception of dbo prefix in SQL Server. That is the major
42. 41
difference between Oracle and SQL Server Database Destination components. I have maintained the
same names for the tables in both databases.
44. 43
Each time the variables passed in the expression will be used to create the file using the connection
string as illustrated. I did not add any constraints to the connector or error handling to this package
since is not a production based package
SISS Execution
SISS can be executed using Microsoft Visual Studio, SQL Agent, Command Line or Execute Page Utility.
Execute Page Utility
46. 45
Validation
Oracle 11G
The file is created per design with the date encoded as illustrated below
Data Validation
Text File Extract
SQL Server 2012
49. 48
Oracle SQL Developer Data Migration Utility
In this task I would migrate MYSQL Database Sakila and DB2GSDB Database into Oracle database. I have
created the repository named Oracle System using Oracle System account. The actual data will be stored
in new schema named sakila default password of sakila for MYSQL migration. For IBM DB2 each schema
will be created with the schema name as the user name and password for that schema. I would connect
to the Oracle GOSALES schema for demonstration .
52. 51
Repository explorer shows the three migration projects including the DB2 and MYSQL
Data Validation- MYSQL Migragation
To connect to the new created schema sakila I have to use the connection parameters as illustrated
below.
55. 54
File Location
Oracle SQL Developer generates several output files which can be used to reconstruct the database as
illustrated below
MYSQL Output Migragation File
61. 60
Solution
This package will create reports associated with sales.
The state report will contain total sales across the states associated with a country code provided in the
parameter to the stored procedure. This report will contain total sales, average, maximum and
minimum results of each state
The customer report will contains aggregations associated with each customer of total sales, average,
maximum and minimum of their sales history.
The yearly report will contain aggregations associated with sales of specific year including total sales,
average, maximum and minimum of sales history.
The customer sales pivot report will contain total sales of each customer sales information in pivot
format associated with a yearly format.
Each reports generated are stored in oracle database and text files. The text files extensions include the
file name, date and country code provided in the variable to the stored procedure.
Design
The package was designed using Microsoft 2008 Business Intelligence Development and was later
converted to the 2012 SSIS format using Microsoft Visual Studio 2010 as illustrated below
62. 61
CustSales Package SSIS 2012 Version
Design Details
The stored procedure is executed using the value received from the variable which is mapped to the
stored procedure parameter to retrieve specific data.