- Open SQL Server Data Tools (SSDT) and create a new project using the Integration Services Project template. Place the solution in the C:\SSIS2016Cookbook\Chapter07\Solution folder and name the project AdventureWorksETL.
- Rename the default package UsingVariables.dtsx.
- Create a intCounter variable with data type Int32 and a default value of 0.
- Create a strFile variable of type String with the default value blank. Your Variables window should look like the following screenshot:
- Add a For Loop container to the control flow. Rename it LoopThreeTimes.
- Add a Foreach Loop container to the control flow. Rename it GetFileNames.