ALL SOFTWARE EXERCISES
- EXERCISES HOME PAGE (862)
- Access 2010 (66)
- Access VBA Macros (17)
- Advanced VBA (29)
- ASP.NET MVC (0)
- ASP.NET webforms - C# (25)
- ASP.NET webforms - VB (27)
- Excel 2010 (83)
- Excel 2013 (10)
- Excel VBA Macros (37)
- Power BI - Excel 2013 (25)
- Power BI - Excel 2016 (23)
- Power BI Desktop (26)
- PowerPivot 2010 (26)
- Report Builder 3.0 (42)
- SQL (156)
- SSAS - multidimensional (21)
- SSAS - tabular (29)
- SSIS Integration Services (40)
- SSRS Reporting Services (53)
- Visual Basic 2010 (42)
- Visual C Sharp 2010 (65)
- WPF - Visual C# (20)
SSIS INTEGRATION SERVICES EXERCISES
Exercise: Create a to-do list every Monday and copy it to a folder
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 Wise Owl course listed below!
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.
Every Monday you import a list of tasks created for you by your kind manager into a flat file, and then copy this file to a working folder. This exercise will help you create a package to automate this process!
What the final text file created by the package should look like.
First, within Management Studio open the script called Create list.sql in the above folder, and run it to create a table of to do tasks.
Now create a package called I like Mondays. Within this, create a variable to hold the weekday number:
This will hold the weekday number (1 is Monday, 2 is Tuesday, etc.).
Create a package to import the SQL Server table into a flat file (on Mondays only), then to copy this flat file to the Working folder subfolder of the above directory:
What the final package could look like.
You may find the following expression useful: DATEPART( "dw", GETDATE() )
Test your package works (you may need to change the day of the week being tested to do this), then close it down.