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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append Data

Status
Not open for further replies.

ascheper

Technical User
Nov 29, 2001
45
CA
Through DTS I created a package to export some data to a text file. Is there a way to append the data to the file instead of overwriting the file?
 
The text file export does not support appending data. You can export to a new file and then append the new file to the old file with a DOS copy statement. If you are creating a DTS package you can add an Execute Process Task to the package to execute the copy statement.

copy OldFile.txt + NewFile.txt OldFile.txt
Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top