Muokkaa

Jaa


Lesson 2-1: Copy the Lesson 1 package

Applies to: SQL Server SSIS Integration Runtime in Azure Data Factory

In this task, you create a copy of the Lesson 1.dtsx package. If you didn't complete Lesson 1, you can use the completed lesson 1 package that is included with this tutorial. You use the new copy throughout the rest of Lesson 2.

Create the Lesson 2 package

Use this procedure if you're copying the completed Lesson 1. To copy the sample Lesson 1, see the next section.

  1. If SQL Server Data Tools isn't already open, select Start > All Programs > Microsoft SQL Server 2017, and then select SQL Server Data Tools.

  2. On the File menu, select Open > Project/Solution, select the SSIS Tutorial folder and select Open, and then double-click SSIS Tutorial.sln.

  3. In Solution Explorer, right-click Lesson 1.dtsx, and then select Copy.

  4. In Solution Explorer, right-click SSIS Packages, and then select Paste.

    By default, the copied package is named Lesson 2.dtsx.

  5. In Solution Explorer, double-click Lesson 2.dtsx to open the package

  6. Right-click anywhere in the background of the Control Flow design surface and select Properties.

  7. In the Properties window, change the Name property to Lesson 2.

  8. Select the box for the ID property, select the drop-down arrow, and then select <Generate New ID>.

Use the sample Lesson 1 package

  1. Open SQL Server Data Tools and open the SSIS Tutorial project.

  2. In Solution Explorer, right-click SSIS Packages and select Add Existing Package.

  3. In the Add Copy of Existing Package dialog, in Package location, select File system.

  4. Select the browse (...) button, navigate to Lesson 1.dtsx on your computer, and then select Open.

  5. Copy and paste the Lesson 1 package as described in steps 3-8 in the previous section.

Go to next task

Step 2: Add and configure the Foreach Loop container