Advertisement

05.15.2008 at 10:00AM PDT, ID: 23405919
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

SSIS question:Exporting updated data from sql 2005 to excel How to make package reusable?

Asked by azuresky in SQL Server 2005, Microsoft Excel Spreadsheet Software, MS SQL DTS

Tags:

When OLEDB Data Source table get updated the ssis package lose functionality.
When I export data from SQL Server data source to Excel file destination I experience
2 of the following problems:
1.
The sql table date column names get dynamically updated every month e.g.

1st col - 02/01/2007   will be replaced with 03/01/2007
2nd col -03/01/2007 will be replaced with 04/01/2007
&&.
14 col -03/01/2008  will be replaced with 04/01/2008
15 col -  Misc

For some reason when I reconnect to my newly updated table in BI SSIS package my dynamic column names in sql data source table get displayed in the wrong order:

1st col - 03/01/2007
2nd col - 04/01/2007
&&&..
14 col - Misc
15 col -  04/01/2008  

The only solution that I found is to delete OLE DB Source and then re-create it.
I have a lot of similar tables in this package and would like to update them dynamically- not manually every time then my data source table change.
Could someone please suggest another solution?
2.
My destination Excel file is a template with headers and some column formatting.
In order to get the updated column names I had to delete old column names.  The problem is it makes the old worksheets with headers and formatting dysfunctional, only the header would display in the preview, and you cannot map the column names and populate the worksheets.
I would like to keep the header in the 1st row of each workbook, and column formatting, and display the column names in the 3rd row.
Is there a way to re-use formatted template without erasing everything every time then my data source table changes?
Start Free Trial
[+][-]06.10.2008 at 02:47PM PDT, ID: 21755385

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Server 2005, Microsoft Excel Spreadsheet Software, MS SQL DTS
Tags: sql
Sign Up Now!
Solution Provided By: cs97jjm3
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.16.2008 at 11:44AM PDT, ID: 22491826

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09.20.2008 at 04:10PM PDT, ID: 22532106

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628