Solved

Dynamic Column Names in SSIS Package for MSSQL 2005

Posted on 2008-06-17
3
916 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 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

690 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