Hi All,
I am new to SSIS and need some assistance. I have a execute SQL task which generates a table with string as '201701','201702','201703','201704' etc
I am passing these strings to foreach loop container where I am pulling data from Azure DW to SQL Server filtered by these strings.
On event of error when the Azure data warehouse is not responding foreach loop moves to next value of string and miss current value and try again.
How can we set foreach loop to iterate over same value over and over till it succeed instead of going to next iteration.
For eg - Here the loops fails at value of 201704, currently when it encounters error it goes to next iteration ie 201705, but i want foreach loop to try 201704 until its success.
Iteration Value | Current Loop Behavior | Desired Loop Behavior |
201701 | 201701 | 201701 |
201702 | 201702 | 201702 |
201703 | 201703 | 201703 |
201704 | 201705 | 201704 |
201705 | 201704 | |
201704 | ||
201704 | ||
201705 | ||
Many Thanks
Regards,
Abhishek