Sharon
Sharon

Reputation: 3

How to delete an existing csv file and create new one in ssis?

I am new to ssis. I want to schedule a job to create a csv file daily. So each day, the existing file should be deleted and I want to create a new csv file. Could you please help me with this?

Upvotes: -1

Views: 815

Answers (1)

Ockert
Ockert

Reputation: 443

As for deleting existing file, the flat file connection properties should have a tick box to overwrite the existing file. If the file is not locked by another process like Excel that should be sufficient to ensure the old one is replace by the new one

If you need more guidance on how to build the package you can have a look at the below link

Exporting to CSV

Upvotes: 0

Related Questions