Solved

Dynamic Column Names in SSIS Package for MSSQL 2005

Posted on 2008-06-17
3
880 Views
Last Modified: 2010-04-08
I'm trying to create an SSIS package that will run a stored procedure and export the results of that stored procedure to a CSV file.  The problem I am having is that each month the column name changes and so I am having a hard time mapping the columns between data sources.  Is it possible to create a SSIS package for MSSQL 2005 that allows for dynamic column names instead of static names?
0
Comment
Question by:travisrail
3 Comments
 
LVL 8

Accepted Solution

by:
srnar earned 500 total points
ID: 21810866
What does it mean:"column name changes"? Does your SP return different number of columns (e.g. PIVOT) -  or you need to export different header column names into CSV?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now