SSIS job fails when csv file is open in Excel
i have ssis job outputs query csv file. each time file generated has filename structure output_<date>.csv if job ran multiple times in 1 dat csv file gets overwritten.
my problem if user happens have file opened in excel , tries run job fail file in use.
is there way prevent this?
the easiest way write file write file location that users shouldn't accessing. copy/move file location can access. process fail on copy/move part of process, if want latest file after such failure, can copy hand.
russel loski, mcse data platform/business intelligence twitter: @sqlmovers; blog: www.sqlmovers.com
SQL Server > SQL Server Integration Services
Comments
Post a Comment