Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS Output file name

Status
Not open for further replies.

Gweener

IS-IT--Management
Jul 22, 2003
53
0
0
GB
Hi All,

Doing a simple DTS to execute a SQL task and then output the results to a text file.

Can do all this OK - EXCEPT, this is to be a daily task and I want to be able to control the naming convention of the file i.e. to have a different name each time it executes (integrate the date for example).

Can anyone advice on the best way to achieve?

Many thanks

 
what SQL Server version used.
If 2k you may be able to use dynamic variables, if other you can always execute a final sql step where you execute a command line with a rename from a fixed filename to your daily name.

Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top