Is it possible to rollback SQL transactions that are part of an SSIS Package if the File transfer task part of the same package fails due to network or path not accessible issue?
I have a flat file, i read and process it and insert the data from that file into an table in my MS SQL DB. I then place the same file in an archive folder for reference purposes.
The package fails when the destination file path is not accessible due to network or permission issues. I fix this environment issue and re-run the package.
A problem creeps in as the records get duplicated as the earlier run has inserted the same records in the table.
Is it possible to rollback sql transactions if a non-sql task like file transfer fails?
Thanks Balaji.V