dbTalk Databases Forums  

DTS and Excel

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


Discuss DTS and Excel in the microsoft.public.sqlserver.dts forum.



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

Default DTS and Excel - 09-07-2004 , 02:07 AM






I need to export data daily in Excel format, the file name
changes every day eg Exportddmmyyyy.xls. This works OK if
you run it manaually but when you schedule it a a Job, it
failes every time. I have a item that deletes the tempory
table and rebuilds it, but as the name changes each time
it always fails when deleting the temp table. Any idea how
to solve the problem



Reply With Quote
  #2  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: DTS and Excel - 09-07-2004 , 07:25 AM






The following article on sqldts.com shows you how to change
the file name for a connection:
http://www.sqldts.com/default.aspx?200

-Sue

On Tue, 7 Sep 2004 00:07:37 -0700, "Allan"
<asql (AT) penstonall (DOT) co.uk> wrote:

Quote:
I need to export data daily in Excel format, the file name
changes every day eg Exportddmmyyyy.xls. This works OK if
you run it manaually but when you schedule it a a Job, it
failes every time. I have a item that deletes the tempory
table and rebuilds it, but as the name changes each time
it always fails when deleting the temp table. Any idea how
to solve the problem



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 - 2013, Jelsoft Enterprises Ltd.