Category Archives: Uncategorized

Dealing with Unicode and ASCII Text Files

A recent post on the MSDN forums brought up an interesting problem. The poster was attempting to process a folder of files, all of which had the same format, but some were encoded as ASCII (ANSI, DT_STR, or varchar, if … Continue reading

Posted in Uncategorized | Comments Off on Dealing with Unicode and ASCII Text Files

Checking for the Existence of a File

The File System Task in SSIS doesn’t support checking to see if a file exists. You can work around this easily with a script task. Create a new script task and add a Imports statement referencing the System.IO namespace to … Continue reading

Posted in Uncategorized | Comments Off on Checking for the Existence of a File

Scanning a Package For Specific Tasks

I recently had a need to scan through an SSIS package to find all instances of data flow tasks within the package. This is to support a future enhancement in BIDSHelper. However, I ended up making the code a little … Continue reading

Posted in Uncategorized | Comments Off on Scanning a Package For Specific Tasks

Address Columns Generically In a Script Component

When writing script components in SSIS, it’s often useful to be able to process the columns without knowing exactly what they are. For example, you may want to loop through all the columns to check for a conditional, like NULL … Continue reading

Posted in Uncategorized | Comments Off on Address Columns Generically In a Script Component

Preparing A List of IDs for an IN Condition

There’s been a few questions on the MSDN Forums recently about using a list of keys in an IN condition in a WHERE clause. There are a few scenarios were this can be a bit tricky in SSIS, particularly if … Continue reading

Posted in Uncategorized | Comments Off on Preparing A List of IDs for an IN Condition

Changes Coming for SSIS 2008

At the PASS Summit this week, I heard a few interesting bits about SSIS 2008 that should be in the next CTP. One, ADO.NET will be fully supported, with a ADO.NET Data Source (renamed from the Data Reader Data Source) … Continue reading

Posted in Uncategorized | Comments Off on Changes Coming for SSIS 2008

Dynamically Pivoting Rows to Columns

Previously, I posted about dynamically un-pivoting columns to rows. In this post, we’ll look at the reverse scenario. Suppose that you have a list of sales orders, in this format: Sales Order Number Product SO-001 Hammer SO-001 Table Saw SO-001 … Continue reading

Posted in Uncategorized | Comments Off on Dynamically Pivoting Rows to Columns

Using the WMI Data Reader in SSIS

A recent post on the MSDN forums was asking about using the WMI Data Reader Task to retrieve information and send it to a SQL Server destination. I wasn’t very familiar with the task, so I decided to try it … Continue reading

Posted in Uncategorized | Comments Off on Using the WMI Data Reader in SSIS

I’m balanced, except when I’m not

Jamie posted a question on ragged hierarchies to his blog today:  Are you balanced or unbalanced? I started thinking about it this evening, and decided to post my thoughts here. I think that, for the most part, business requirements drive should … Continue reading

Posted in Uncategorized | Comments Off on I’m balanced, except when I’m not

2007 PASS Community Summit

At the first of this month, I received word that I will be presenting at the PASS Summit this year. They had a late push for more BI front-end presentations, and evidently they were desperate enough to accept not one, … Continue reading

Posted in Uncategorized | Comments Off on 2007 PASS Community Summit