Friday, July 3, 2015

Export Column Transformation in SSIS

b
Fig 1: The Export Column Transformation
In this post I will be covering the Export Column Transformation. The sample package can be found here for 2005 and guidelines on use are here.

What does it export, and to where?

It exports Binary Data – which means things like Images, Documents and other media – which have been stored in a relational database. It exports them out to the file system. In the example package, I demonstrate exporting image data from Adventureworks into a file folder.
b
Fig 2: Configuring the Export Column Transformation
There’s not much to configure – you need to decide which column(s) you are going to export to the file system, and which column you will use to specify the full file path and file name (you cannot just set a folder globally and use a file name only). MSDN shows the full range of outcomes if you set the Allow Append or Force Truncate flags, but essentially:
  • Allow Append – Will create a new file if none exists, otherwise it will add the data to the end of an existing file
  • Force Truncate – If a file exists, it will overwrite it
You also get the option to set a Byte Order Mark (or BOM), which as far as I can tell is a Unicode end of file marker, but if anyone can enlighten me, please do so.
The other thing to note is that this component can be the terminating point of a data flow – an output is available but not compulsory.

When would you use an Export Column?

The main use for this would be for extracting items stored in the database, or for placing them as files as you move them from point to point in or between data flows.

Related Posts:

  • execute a package in ssis How to execute a package from another package? Execute Package Task. This mechanism of executing one package from another is popularly knows as Pa… Read More
  • Data Profiling Task in SSIS What do we mean by Data Profiling task in SSIS? Data Profiling task is a control flow component and is used to analyze data&nbs… Read More
  • Expression Task in SSIS 2012  inSSIS 2012 , we can see a new task in Control flow, named Expression Task. Expression Task created to do assignment on package varia… Read More
  • XML task in SSIS XML task in SSIS XML task in SSIS In this article we will learn about XML task in SSIS. XML task is used to validate, modify, extract or even … Read More
  • File System Task in SSIS File System Task in SSIS will do File Operations – Copy File, Move File, Rename File and Delete File. Several times we need to do some file ope… Read More

0 comments:

Popular Posts

Recent Posts

Unordered List

Text Widget

Blog Archive