Avatar of allenkent
allenkent
Flag for United States of America asked on

SSIS 2005 to export to Excel - refresh data every 4 hours

I have my SSIS package working and it runs ok the first time. What I cannot figure out is once the Excel spreadsheet is created the first time I cannot run the package again. I need a way to delete the whole file so it recreates with new data or delete all the data from the excel file and repopulate. I can seem to figure out this step.

My goal is basically have new data in Excel spreadsheet from my SQL database every 4 hours. I understand how to create my job on a schedule but the missing portion is deleting this excel file.
Microsoft SQL Server 2005

Avatar of undefined
Last Comment
allenkent

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Deepak Chauhan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
allenkent

ASKER
Perfect.  I used File system Task. I put step on the first line of my Control Flow and worked.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes