?
Solved

Dynamic Column Names in SSIS Package for MSSQL 2005

Posted on 2008-06-17
3
Medium Priority
?
925 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Suggested Courses

771 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