Author Archives: jwelch

Checking for Overlapping Rows in a Slowly Changing Dimension

A question was posted on the MSDN forums about validating that there are no overlapping rows in a slowly changing dimension (SCD). It is common to use a start and end date in a type 2 SCD to designate when … Continue reading

Posted in Uncategorized | Comments Off on Checking for Overlapping Rows in a Slowly Changing Dimension

Package Configuration Editor

Well, after a few weeks of playing around with it, I finally finished an initial version of a tool for editing SSIS configurations. It’s pretty basic, but it is functional. It supports editing configurations stored in XML files and databases. … Continue reading

Posted in Uncategorized | Comments Off on Package Configuration Editor

SSIS Presentation at CITPG

I presented an “SSIS 101” session to one of our local user groups yesterday, the Carolina IT Professionals Group (http://www.carolinait.org/). It was an interesting presentation to do, as the audience is fairly broad, covering networking professionals, application developers, and hardware … Continue reading

Posted in Uncategorized | Comments Off on SSIS Presentation at CITPG

Retrieving Information from Active Directory with SSIS

I was recently asked to help someone retrieve information from Active Directory for use in SSIS. My initial thought was “This shouldn’t be too difficult. I know there is an OLE DB driver for Active Directory, so it should just … Continue reading

Posted in Uncategorized | Tagged , | Comments Off on Retrieving Information from Active Directory with SSIS

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!