dbTalk Databases Forums  

File rotation...

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


Discuss File rotation... in the microsoft.public.sqlserver.dts forum.



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

Default File rotation... - 09-03-2003 , 09:11 PM






I currently have a DTS that takes a view and exports it to a file called
purolator.csv on a network drive every 10minutes from 9am to 10pm
everyday.

I need to get that package to generate different filenames everytime it
runs, 7 days at a time..
purolator1.csv
purolator2.csv
etc....then after 7 days it comes back to 1...anyone has an idea ?

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

Default Re: File rotation... - 09-04-2003 , 01:33 AM






Have a look at this and see if you can tweak for your needs

How can I change the filename for a text file connection?
(http://www.sqldts.com/default.aspx?200)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Fred Smith" <fredsmith (AT) aliencow (DOT) com> wrote

Quote:
I currently have a DTS that takes a view and exports it to a file called
purolator.csv on a network drive every 10minutes from 9am to 10pm
everyday.

I need to get that package to generate different filenames everytime it
runs, 7 days at a time..
purolator1.csv
purolator2.csv
etc....then after 7 days it comes back to 1...anyone has an idea ?



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.