WISE OWL EXERCISES
SSIS INTEGRATION SERVICES EXERCISES
- Data flow tasks (4)
- Basic data transforms (1)
- Data conversion transforms (2)
- Conditional split transforms (5)
- Lookup transforms (4)
- Looping over files (3)
- Looping over rows (2)
- Merge joins (1)
- Previous versions (18)
- Script tasks (1)
- Variables in script (1)
- Script components (2)
- Accessing file attributes (2)
SSIS Integration Services | Previous versions exercise | Export X Factor Series Data to SQL Server Table
This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
You can learn how to do this exercise on the relevant Wise Owl classroom training course (sadly for the moment only in the UK).
You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.
In SQL Server Management Studio, open and run the script called Create table for series.sql in the above folder:
You should now have a skeleton table of series, ready to be filled in with data.
Create a new package called Serious series, and within this create two control flow tasks:
The first task should execute the SQL statement TRUNCATE TABLE tblSeries for the X Factor OLEDB connection, while the second one should be a data flow task which we'll configure in a moment. Ignore the yellow triangle!
Now configure the data flow task so that it:
- Takes data from the Excel workbook in the above folder (you'll need to create an Excel connection manager for this); and
- Exports it to the tblSeries table in the X_Factor database (using the existing OLEDB connection).
Run your package twice. You should get the following table of data:
Each time you run the package you get rid of old data in the table before adding new rows.
Close this package down.