Author Archives: jwelch

Using the Merge Statement in SQL Server 2008

It’s been a busy couple of weeks, but I’ve finally found some time to play around with the June CTP of SQL Server 2008. One of the items that caught my interest was the MERGE statement. This is a new … Continue reading

Posted in Uncategorized | Comments Off on Using the Merge Statement in SQL Server 2008

XML Transformations Part 2

Previously, I posted about using a script destination component to output an XML file. A post on the MSDN forums got me thinking about a slight tweak to the previous post that would result in a little more flexibility. The … Continue reading

Posted in Uncategorized | Comments Off on XML Transformations Part 2

Multi-File Outputs Part 2

In my previous post, I discussed how to use a script destination to output multiple flat files from a single source. In it, I mentioned that I would post an alternate approach, that didn’t require any scripting. So, here it … Continue reading

Posted in Uncategorized | Comments Off on Multi-File Outputs Part 2

Multi-File Output Destination Script Component

Yesterday I posted about using a destination script component to write XML files from a data flow. Today, I’m continuing in the same vein with a post about writing multiple destination files from a destination script component. The inspiration for this … Continue reading

Posted in Uncategorized | Comments Off on Multi-File Output Destination Script Component

XML Destination Script Component

I often hear comments along the lines of “Why doesn’t SSIS have an XML destination?”. Unfortunately, I don’t know the answer to that, but I can show you how to implement your own XML destination fairly easily. Thanks to the … Continue reading

Posted in Uncategorized | Comments Off on XML Destination Script Component

Dynamically Unpivoting Columns to Rows

There’s been a few questions on the forums recently about taking column values and pivoting them to rows. For example, I might have an input file with 5 columns: a key column and 4 category columns. Key; C1; C2; C3; C41;1;2;3;42;1;2;3;43;1;2;3;44;1;2;3;4 … Continue reading

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

BIDS Helper 0.9 Beta is Released

The 0.9 beta of BIDS Helper has been released on CodePlex. It’s got a lot of great features for working with Analysis Services, and some future enhancements will include SSIS.

Posted in Uncategorized | Comments Off on BIDS Helper 0.9 Beta is Released

Handling Varying Columns, Part 2

In Handling Flat Files with Varying Numbers of Columns, I showed an example of parsing a flat file with an inconsistent number of columns. I used a script component, but Jamie commented that the same thing could be accomplished through … Continue reading

Posted in Uncategorized | Comments Off on Handling Varying Columns, Part 2

Handling Flat Files with Varying Numbers of Columns

5/15 Update – I added Part 2 to show how to do the same thing with a Conditional Split and a Derived Column transform, per Jamie’s feedback (see the comments on this post). A common question on the forums has been how to … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off on Handling Flat Files with Varying Numbers of Columns

Handling Multiple Errors in SSIS

[edited on 12/14/2007 to correct an error in the text around string handling – the samples were not modified] One actual failure in SSIS can trigger a whole series of error messages. For example, failure to convert a column value … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off on Handling Multiple Errors in SSIS