Exercise: Combine an Excel workbook and CSV file into a 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.

The answer to the exercise will be included and explained if you attend the course listed below!

Category ==> SSIS Integration Services  (40 exercises)
Topic ==> Data conversion transforms  (2 exercises)
Level ==> Harder than average
Course ==> Introduction to SSIS
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

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 the SQL script in the above folder and run it.  This should generate an empty table:

Table to fill

The empty table that you should aim to fill!

 

Create a package called Revisiting youth to:

  • Import the 6 programs from the Excel file in the above folder;
  • Import the 4 programs from the CSV file;
  • Combine the two lists; and
  • Feed the results into the SQL Server table you've just generated

Here's what this should give you:

The final table

You'll need a couple of sources, a data conversion task for each and a union all transform.

 

Check your package works, then close it down.

This page has 0 threads Add post