dbTalk Databases Forums  

dts transformation with excel

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


Discuss dts transformation with excel in the microsoft.public.sqlserver.dts forum.



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

Default dts transformation with excel - 05-27-2006 , 04:12 PM






Hi all,

i have a dts package that exports to an excel file, but the name of the
excel file is defined at runtime. this is not a problem as i define the
destination table for the excel file in the data transformation task before
running the package.

is there a way using vbscript to define the destination table name in a data
transformation task?

i am using sql server 2000 sp4.

any pointers or white papers would be appreciated


Simon Whale



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

Default Re: dts transformation with excel - 05-29-2006 , 03:38 AM






Hello Simon,

The destination table can be defined using the DestinationObjectName property
on the Transform data task. You can dynamically create the table against
the XL connection manager using an ExecuteSQL task and a CREATE TABLE statement.


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

Quote:
Hi all,

i have a dts package that exports to an excel file, but the name of
the excel file is defined at runtime. this is not a problem as i
define the destination table for the excel file in the data
transformation task before running the package.

is there a way using vbscript to define the destination table name in
a data transformation task?

i am using sql server 2000 sp4.

any pointers or white papers would be appreciated

Simon Whale




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.