Hello
Using SSIS (SQL 2005), I'm looking for SSIS to help with the:
I want to truncate a table
Then connect to a server and extract data from that server into a table
This I can do with a simple trucate and insert
Problem is, the connection seems to fail pretty frequently
So, I would like to generate a routine that tries this 10 times
If it succeeds, it then moves to the next part (in this instance another container)
If it fails, it e-mails this failure before moving to the next container
So the loop should break if successful OR carry on if not
Then return a success/failure so I can either e-mail or not
I've played around with the loops and I'm struggling to break and work with 2 variables
Any thoughts
Thanks
Damian.
Using SSIS (SQL 2005), I'm looking for SSIS to help with the:
I want to truncate a table
Then connect to a server and extract data from that server into a table
This I can do with a simple trucate and insert
Problem is, the connection seems to fail pretty frequently
So, I would like to generate a routine that tries this 10 times
If it succeeds, it then moves to the next part (in this instance another container)
If it fails, it e-mails this failure before moving to the next container
So the loop should break if successful OR carry on if not
Then return a success/failure so I can either e-mail or not
I've played around with the loops and I'm struggling to break and work with 2 variables
Any thoughts
Thanks
Damian.