dbTalk Databases Forums  

Dynamic transformations in SSIS

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


Discuss Dynamic transformations in SSIS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
polinaskulski@aol.com
 
Posts: n/a

Default Dynamic transformations in SSIS - 01-27-2006 , 04:27 AM






Hi,
I would like to create a dynamic package which exports results of
different stored procedures
with select statement and different number of columns to a .csv file.
I've already got a script which changes SourceSQLStatement to 'exec '
+ sp_name and
and Connection DataSource property to the name of the .csv file. Now
the question is how can I have 'variable' transformations for variable
number and types of columns?
Is it possible in SQL Server 2005 SSIS?

Thanks


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Dynamic transformations in SSIS - 01-27-2006 , 01:10 PM






polinaskulski (AT) aol (DOT) com wrote:
Quote:
Hi,
I would like to create a dynamic package which exports results of
different stored procedures
with select statement and different number of columns to a .csv file.
I've already got a script which changes SourceSQLStatement to 'exec '
+ sp_name and
and Connection DataSource property to the name of the .csv file. Now
the question is how can I have 'variable' transformations for variable
number and types of columns?
Is it possible in SQL Server 2005 SSIS?

Thanks

You cannot. The metadata, the column definitions and structure of the
pipeline which moves the data is fixed at design-time. You would have to
write some logic to parse the procedure output format and build the
package on the fly. The only other alternative would be to put all
results into a single column table, already in CSV format.


--
Darren
http://www.sqldts.com
http://www.sqlis.com


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.