Dynamic Excel Destination SQL Command in SSIS

This is a discussion on Dynamic Excel Destination SQL Command in SSIS within the sqlserver-dts forums in Microsoft SQL Server category; Is there a way to specify the SQLCommand for an excel destination dynamically in SSIS? It appears the From Variable option is limited to sheet names and range names. I need to iterate through a series of disconnected row/column offsets within a single sheet. I can very easily calculate the cell references and open the SQL Command property as SELECT * FROM [Sheet1$B1:B20] changing the actual rows/columns each time I loop through a subset of values. But it doesn't appear that I can use a variable or update the SQL Command at runtime. Is this true ...

Go Back   Database Forum > Microsoft SQL Server > sqlserver-dts

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-26-2008, 04:44 PM
Default Dynamic Excel Destination SQL Command in SSIS

Is there a way to specify the SQLCommand for an excel destination dynamically
in SSIS? It appears the "From Variable" option is limited to sheet names and
range names.

I need to iterate through a series of disconnected row/column offsets within
a single sheet. I can very easily calculate the cell references and open the
SQL Command property as SELECT * FROM [Sheet1$B1:B20] changing the actual
rows/columns each time I loop through a subset of values. But it doesn't
appear that I can use a variable or update the SQL Command at runtime.

Is this true or is there a workaround, preferably not involving adding
several dozen named ranges to the sheet, or dropping down to Excel automation.
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:09 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.