SQL Server Integration Services (SSIS) – Part 5 – Building and Executing a Package

Karthikanbarasan
Posted by in Sql Server category on for Intermediate level | Points: 250 | Views : 19847 red flag
Rating: 5 out of 5  
 2 vote(s)

This is part 5 of the series of article on SSIS. In this article I have described how to build and execute a package in SSIS.


 Download source code for SQL Server Integration Services (SSIS) – Part 5 – Building and Executing a Package

Introduction

In this article we will look into how to build and execute a package in SSIS. The idea behind this article is the reader should get familiar with the options available in executing the package to check for any errors or to see if the package is executed correctly or not and finally in the next article we will look into the deployment strategies for SSIS.


Steps

In order to see the building and the execution process of SSIS, we are first going to create a solution (project) and do some tasks which you can see in my Part 1 to Part 4 Series on the step by step process at the below URL’s

Part 1

http://www.dotnetfunda.com/articles/article1164-sql-server-integration-services-ssis-part-1-basics-of-ssis-and-creati-.aspx

Part 2

http://www.dotnetfunda.com/articles/article1189-sql-server-integration-services-ssis-part-2-transforming-sql-data-to-.aspx

Part 3

http://www.dotnetfunda.com/articles/article1190-sql-server-integration-services-ssis-part-3-export-data-using-wizard-.aspx

Part 4

http://www.dotnetfunda.com/articles/article1191-sql-server-integration-services-ssis-part-4-import-data-using-wizard-.aspx

So Once we are ready with creating tasks and preparing a format to perform some tasks as shown in the below screen we will see how to build and execute the SSIS packages


I have performed 2 tasks here, one is from a OLE DB connection (SQL DB) Northwind Database in products table I’m taking product values > 25 to an excel sheet. Is there is any problem with the source then it will transform them to Flat File.

So once we are ready with the project tasks, go to Build menu and click on BuildDebugandExecute


At the bottom on the window (Status bar) you can see the status of the build as shown in the below screen


Now in order to do the execution debug and check if the process goes on step by step Go to Debug menu and click on Start Debugging or Press F5 directly as shown in the below screen


The execution process starts and the tasks will be executed step by step and the completed tasks will be shown in green color as shown in the below screen


If there is any error in the process tasks then the task will be shown as RED color.


Conclusion

We have gone over the process on how to build and execute the SSIS package. We will look into the deployment options and techniques in the upcoming articles.

 

Page copy protected against web site content infringement by Copyscape

About the Author

Karthikanbarasan
Full Name: Karthikeyan Anbarasan
Member Level: Silver
Member Status: Member,Moderator,Microsoft_MVP,MVP
Member Since: 1/2/2011 3:00:14 AM
Country: India
Thanks Karthik www.f5Debug.net
www.f5Debug.net
www.f5Debug.net Around 5 years of experience in Microsoft technologies like ASP.Net, VB.Net, C#.net, SQL server, Biztalk Server, WCF, WPF, SSIS, SSRS, SSAS, AJAX and working as Senior Analyst in a US based MNC.

Login to vote for this post.

Comments or Responses

Posted by: Svs on: 2/6/2018 | Points: 25
I have performed 2 tasks here, one is from a OLE DB connection (SQL DB) Northwind Database in products table I’m taking product values > 25 to an excel sheet.
where is the condition mentioned? is that using the sql command in oledb source?

Login to post response

Comment using Facebook(Author doesn't get notification)