How to use Script Component as Asynchronous Transformation

Suppose you have a flat file which is not delimited or fixed width or Ragged right. the structure of data is not well formed for Flat File Connection manager to read,  This is an example of data file: date                     : 04/14/2010customer name        : John doeaddress                  : 2014 apple st. Chicago, IT 30000sale order        Read more about How to use Script Component as Asynchronous Transformation[…]

Foreach Loop based on Variable – SSIS

There are lots of times that you need to set your own enumerator in foreach loop container. For example you want to select special sub directories based on specified conditions and then you want to loop through them. so you need to make your own enumerator. so it’s better to create a variable which contains Read more about Foreach Loop based on Variable – SSIS[…]

Update image column with the physical file with SSIS

Problem: you have a table with 2 fields: FilePath -> this field contains address of local image file path FileImage -> this field contains the image exactly, type of this field is image(sql server database) Now you want to update FileImage field with files that are exists in exact local paths. can you do it Read more about Update image column with the physical file with SSIS[…]

Excel to SQL Server, Dynamic Data Flow

You need to import data from excel file to sql server table, you can do this with a simple import wizard or simple data flow task in SSIS. But there are lots of times which you want to do this data transfer dynamically. Suppose these scenarios: 1- you have many excel files with same structure Read more about Excel to SQL Server, Dynamic Data Flow[…]

PIVOT Transformation – SSIS – Complete Tutorial

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 about PIVOT Transformation – SSIS – Complete Tutorial[…]

Problem with comma values in Comma Delimited File

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 about Problem with comma values in Comma Delimited File[…]

How to work with multiple files in FTP Task

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 about How to work with multiple files in FTP Task[…]