Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Text File Destination option within DTS(Completed)

Author  Topic 

cthompson
Starting Member

11 Posts

Posted - 2005-07-04 : 09:54:22
Hi Guys

Is there away on the Text File(Destination)option within DTS to add a datestamp to the filename.

For example:

NewAccount.txt - needs to become NewAccount04072005

The reason for this request is to prevent the loss of any text file that is created.

Thanks in advance for any help on this issue.

Regards

Chris

mwjdavidson
Aged Yak Warrior

735 Posts

Posted - 2005-07-04 : 10:00:11
Use an ActiveX Script task to set the DataSource property of the text file connection (use VBScript date functions to return the date string).
Go to Top of Page
   

- Advertisement -