Learn Simple SQL Server Integration Service example database to text file transformation in 5 minutes

Dear Friends,
Today we are going to create simple SSIS task which we will create a text file output using ETL (Extract Transform Loading) of SSIS.
For this first basic this which we need to know
1) Source Database
2) Output file name & path

Step 1:- Open SQL Server Business Intelligence Development Studio (BIDS) and create a new Integration project as shown in below fig.


Step 2:- Now drag and drop Data Flow Task from control flow item’s toolbar as shown in below fig.

Step3:- Once you done with this just double click on Data flow task and you will get a new screen for data flow. Now we have to choose data source for our ETL process for this just drag drop data source from data flow source tool bar.
Step 4:- configure source database. In this example we are using OLEDB data source and SQL server Database. You can choose other database source too.  To configure OLEDB data source just right click the OLEDB data source and click on Edit.


You will get OLEDB Source Editor as shown in fig.
Just click on new button as highlighted in above fig set database. Once database source is done we can choose any data mode like table or view, SQL Command as shown in fig.

I am choosing table employees of North wind database here.  After doing this just choose desire column which you want to export in file. You can choose this column by selecting columns option.

Step 5:- Now Drag drop destination control as we require flat file destination and configure it. We can configure destination same as we did for data source. Just right click on flat file destination control and edit it.


Step6: – Once you done with configuration of file click on mapping and map the columns. As shown in below fig.

Step 7:- Now all set just run using”F5” 

If everything is green then our SSIS package is done successfully.
In next session we will learn how to deploy it, how to use configuration for it.
Till than enjoy SSIS.

Thanks
Rajat Jaiswal

Advertisements

One thought on “Learn Simple SQL Server Integration Service example database to text file transformation in 5 minutes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s