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
 General SQL Server Forums
 New to SQL Server Programming
 Export Date into .csv file

Author  Topic 

Patyk
Yak Posting Veteran

74 Posts

Posted - 2014-10-07 : 13:09:13
I have an msdb package to export data into a .csv file.
It works well except every time i run this package it appends the data to .csv file. I need the .csv file to contain only new data, the old records has to be erased.


Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-10-07 : 13:47:52
Modify the package to overwrite the file.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -