Category Archives: Creating SSIS Packages

Execute Process Task – Compress File Using 7-Zip

Abstract In this blog post I will demonstrate using SQL Server Integration Services‘s Execute Process Task to compress a csv file into a zip format using 7-Zip. Requirements Microsoft Visual Studio 2005 or later 7-Zip SIFISO_Test Article Recently I have been involved in a project whereby I have been required to extract data into csv… Read More »

Programmatically Create and Deploy SSIS 2012 Project into Catalog Using C#

Abstract SQL Server Integration Services 2012 comes with a new API for scripting packages which is called MOM – Managed Object Model. In this article, I will demonstrate the scripting of Integration Services Catalog packages using C#. Requirements Microsoft Visual Studio 2010 or later Article We begin by launching Microsoft Visual Studio and create a… Read More »

Programmatically Import Flat File Data Source into SQL Server 2008 Using SSIS’s Script Task Tool

Abstract This article demonstrates creating a SQL Server Integration Services package that imports a text file into SQL Server database table using a Script Task component. Requirements Microsoft Visual Studio 2008 SQL Server 2005 (or later editions) create_table_script.txt flat_src.txt selectSIFISO_Flat_File_Source_into_OLE_DB_Destination_Using_CSharp.txt Article We begin by launching Microsoft Visual Studio and create a new Integration Services Project… Read More »

Programmatically Insert into SQL Server Table from an Excel File Using SSIS Script Tasks

Abstract This article explains how to Programmatically create an SQL Server Integration Services (SSIS) package with a Script Task component. Requirements Microsoft Visual Studio 2008 (or later editions) SQL Server 2005 (or later editions) AdventureWorks2008 database (downloadable database file available here) Article If the above requirements are all met, we will begin by launching Microsoft… Read More »

Programmatically Transfer SQL Server Objects (Schema) Using C#

Abstract This article explains how to Programmatically create an SQL Server Integration Services (SSIS) package with a Transfer SQL Server Objects component. The Transfer SQL Server Objects tasks allows ETL developers to copy one or more Microsoft SQL server objects (i.e. views, stored procedures, tables, schema etc) into another SQL instance. For the purposes of… Read More »