Techbubbles

Creating a SSIS package in VS 2008

This post explains in detail about creating a SSIS package in VS 2008, project folder structure and designer. You can read this post to get understanding on SSIS.

BIDS(Business Intelligence Development Studio) can be found after installing the full version of SQL server 2005 or 2008. I am using the 2008 version for this post. The SSIS development environment is detached from SQL server and you can develop the package offline then can be deployed to the server.

BIDS can be found in the SQL server 2008 group as shown below

image

1. To start a new SSIS project, first you need to open BIDS and select File —-> New —–> Project

image

2. In the solution explorer you will notice an empty package called package.dtsx was created.

image

3. Drag the Execute Process Task to designer from tool box. Double click the task to configure it. Name the task Notepad and browse the file location for executing the task.

4. Drag another Executable Task to designer and double-click on it to open the editor. Name the task calc and browse the exe file for executing the task.

image

These tasks are now connected, and the calc task will not execute until the first task succeeds.

5. Save the project and run it you were able to see the notepad. After closing the notepad you will get the calc. After execution of this package the tasks should show as green in color, which means successfully executed.

If you look into the directory that contains your solution , you were able to see

  • .dtsx – A SSIS package
  • .ds  – A shared data source file
  • .dsv – A data source view
  • dtproj – A SSIS project file

The toolbox will look like the same

image

Leave a reply

Why ask?