Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using checkpoint in SSIS ETL for DFTs

Status
Not open for further replies.

Newbie SSIS

Programmer
Aug 8, 2020
1
0
0
IN
In my ETL I have 4 tasks as below
1) sql task - truncate tbl_1
2) DFT load data to tbl_1 (batch n commit size 10, 000)
3) sql task - truncate tbl_2
4) DFT load data to tbl_2

I have enabled checkpoint but issue is that if it fails at task 2 few rows might have got inserted and committed. On restarting ETL based on the checkpoint xml file saved it restarts from task 2 which means the inserted rows get re-inserted again. How to encapsulate task 1+2 and task 3+4 into a transaction unit.
Kindly advise.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top