dbTalk Databases Forums  

Dynamic File Name

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


Discuss Dynamic File Name in the microsoft.public.sqlserver.dts forum.



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

Default Dynamic File Name - 09-16-2003 , 08:39 AM






Hi,
I'm working on a backup procedure that will export a table to a text file.
This will happen every month, and the filename will be something like this:
tablename_sept2003.csv

I need to dynamically create this file everytime the dts package runs, and
I'm not sure how to do this within DTS (I'm sure I'd use an active X
script), but how to you put the result in a destination text file object?

Thanks for any help!
--Michael



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

Default Re: Dynamic File Name - 09-16-2003 , 08:59 AM






You can find sample code for doing this at:
http://www.sqldts.com/default.aspx?200

-Sue

On Tue, 16 Sep 2003 09:39:15 -0400, "Michael Ramey"
<raterus@localhost> wrote:

Quote:
Hi,
I'm working on a backup procedure that will export a table to a text file.
This will happen every month, and the filename will be something like this:
tablename_sept2003.csv

I need to dynamically create this file everytime the dts package runs, and
I'm not sure how to do this within DTS (I'm sure I'd use an active X
script), but how to you put the result in a destination text file object?

Thanks for any help!
--Michael



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.