dbTalk Databases Forums  

Set Excel column names on destination with SSIS pacakge

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Set Excel column names on destination with SSIS pacakge in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AL
 
Posts: n/a

Default Set Excel column names on destination with SSIS pacakge - 02-09-2006 , 06:17 AM






Hi

I'm exporting data using SSIS from a stored procedure call to an EXCEL
destination. I can set the Excel column names to the names of the fields
returned via the stored procedure. I however need to set these column names
to something different.

Ideally I don't want to change the paramaters, ie. Select sCol1 As
[Agreement Number] since existing code may already be using the stored
procedure.

Can any on help on how to set these destination column names?

Thanks in advance
AL

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Set Excel column names on destination with SSIS pacakge - 02-09-2006 , 05:25 PM






Hello Al,

Not too sure as you are going to get much joy from this. One way i can see
to do this is at design time you go to the advanced editor and change the
names of the columns.

You will not be able to do this at runtime as

1. everything will get "metadata unhappy" and will undoubtedly not work.
2. You can modify these types of propty at runtime



Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hi

I'm exporting data using SSIS from a stored procedure call to an EXCEL
destination. I can set the Excel column names to the names of the
fields returned via the stored procedure. I however need to set these
column names to something different.

Ideally I don't want to change the paramaters, ie. Select sCol1 As
[Agreement Number] since existing code may already be using the stored
procedure.

Can any on help on how to set these destination column names?

Thanks in advance
AL



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.