PIVOT Transformation – SSIS – Complete Tutorial

Posted by on Feb 6, 2010 in SQL Server, SSIS | No Comments

Sometimes, you need to use PIVOT in SSIS. brief explanation of what PIVOT is from msdn is here: PIVOT rotates a table-valued expression by turning the unique values from one column in the expression into multiple columns in the output, and performs aggregations where they are required on any remaining column values that are wanted ...

Read More

Problem with comma values in Comma Delimited File

Posted by on Jan 22, 2010 in SSIS | No Comments

Assume .csv file which columns delimited by comma ( , ) . and Texts delimited by Double Quote ( " ) like below: "Invoice Number","Invoice Status","Invoice Date of Service","Invoice Date Opened","Invoice Hold from printing/submission","Invoice Branch","Invoice Balances Adjustments","Invoice Balances Payments","Invoice Balances Balance","Patient Last Name","Patient First Name","Patient ID","Policy Payor Name","Invoice Detail Item ID","Invoice Detail Item Name","Invoice Detail ...

Read More

Implement If condition in SSIS package

Posted by on Nov 18, 2009 in SSIS | No Comments

This is common requirement , you need to implement a If condition of If then else condition in a SSIS package flow. The example below illustrated it and implemented it with Precedence Constraints. Problem Scenario: there is a table in sql data source , If any records exist in this table then a Data Flow ...

Read More

How to work with multiple files in FTP Task

Posted by on Nov 11, 2009 in SSIS | No Comments

FTP Task is one of SSIS tasks for File Upload,Download or manage ftp file and folders, FTP Task Configuration is easy and all things that must be done is that create a FTP Connection Manager and then set File Transfer configurations. But problem is when you must do this with more than one file, Answer ...

Read More

Dynamic connection string in SSIS

Posted by on Oct 25, 2009 in SSIS | No Comments

This is a common problem: Use a dtsx package with dynamic database connection. In fact there are times that you need to set connection string of database from outside of package. solution: Suppose that you have an OLE DB connection and set it to same database which you want to work with and named it ...

Read More