Monthly Archives: March 2007

Open Source SQL Server Stuff (OSSSS)

I was on the CodePlex (www.codeplex.com) site today looking for the Analysis Services Stored Procedure project, and found that they have a number of SQL Server related projects available. First, all of the SQL Server samples have been uploaded to the … Continue reading

Posted in Uncategorized | Comments Off on Open Source SQL Server Stuff (OSSSS)

Writing a Resultset to a Flat File

This is another example package. This one retrieves a resultset and stores it in a variable. It then uses a data flow with a custom script source to read each row of the resultset and output it as a delimited … Continue reading

Posted in Uncategorized | Comments Off on Writing a Resultset to a Flat File

Using For Each to Iterate a Resultset

Update: Kirk Haselden has a great example of this that I found right after I posted this. http://sqljunkies.com/WebLog/knight_reign/archive/2005/03/25/9588.aspx  There’s been a number of questions about iterating through a collection of items and performing an operation for each item in the SSIS forums … Continue reading

Posted in Uncategorized | Comments Off on Using For Each to Iterate a Resultset

Comparing methods for translating values in SSIS

A question came up recently on the SSIS forums on translating lookup codes into a description within the data flow. That is, given code “A”, how do you translate it into a more descriptive value, such as “Apple”? As a … Continue reading

Posted in Uncategorized | Comments Off on Comparing methods for translating values in SSIS

Sending Header and Detail to different destinations

A question came up today on the SSIS forum about processing flat files that included header and detail information. The poster wanted to send header information to one destination and detail information to another. The header rows have 2 columns, … Continue reading

Posted in Uncategorized | Comments Off on Sending Header and Detail to different destinations

Welcome!

Welcome. I’m John Welch, a managing consultant with Mariner (www.mariner-usa.com), a business intelligence consulting firm in North Carolina. I’m starting this blog to record some of my random thoughts about BI and data warehousing. I have a background in more … Continue reading

Posted in Uncategorized | Comments Off on Welcome!