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!

create text file and export

Status
Not open for further replies.

sedgely

Technical User
Feb 21, 2002
406
GB
i have a query that returns several rows of data, i need to export this out to a text file. i have done this several times before but always to an existing text file. is there anyway i can create a new text file from within DTS using one of the values from the returned data as the filename?

Cheers, Craig
Si fractum non sit, noli id reficere
 
Check some of the other posts in this forum. There are a few example of using a dynamic properties task to change the destination file name to a dynamic name.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top