A-Code - BI Software engineering

Paul Siteur, Business Intelligence Software engineer, Consultant working with tools like Microsoft SQL Server, SAS, Cognos, Oracle, C#, Java located in Nijmegen

SSIS Combini-export

Here I will describe a little data cleaning case using Microsoft SQL Server Integrated Services 2005 for the solution.

Problem

Had to convert a Interbase Address database (called Combini) to an Apple Mac Address program. Problem was all the text fields in the original database had to be merged to one large text block for the Mac Address program.

Solution

SSIS from SQL Server 2005 to convert, merge and create a CSV file. This CSV could be read by a Mac conversion program to prepare it for the Mac Address program.

SQL Server Integrated Services Solution

ssis-combini-export-01-datareader.jpg

The datasource connected to the Interbase Server database table “Adressen”

ssis-combini-export-02-data-conversion.jpg

Conversion of the BLOB fields to Unicode Strings

ssis-combini-export-03-script-input-columns.jpg

A Script component will be used to do the merging job (combining all BLOB filed-data into one field).

ssis-combini-export-04-script-input-output-columns.jpg

Tree input field, one output

ssis-combini-export-05-script-sourcecode.jpg

The Sourcecode

ssis-combini-export-06-merge-join.jpg

Combine the newly created field “AlleAantekeningen” with the others.

ssis-combini-export-07-solution-running.jpg

The SSIS project running, processing 1716 records.

ssis-combini-export-08-csv-result.jpg

The resulting CSV file, to be used by the Mac Address book converter program…

Tags:

Tags:

Posted in SQL 2005 BI by PSi on June 3rd, 2008 at 12:33 pm.

Add a comment

 

No Replies

Feel free to leave a reply using the form below!


Leave a Reply

Comment spam protected by SpamBam