?
Solved

Dynamic Column Names in SSIS Package for MSSQL 2005

Posted on 2008-06-17
3
Medium Priority
?
941 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
1 Comment
 
LVL 8

Accepted Solution

by:
srnar earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ready to get certified? Check out some courses that help you prepare for third-party exams.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

850 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