SSIS Package - retry to execute a query
The database that I try to access in my query in the package gets restored in the same time when my package runs. If those two things clashs I get the error message. How do I make it retry in 5 minutes for example?
Thanks
Marina
November 13th, 2007 12:28am
If you're using SQL Agent, there is a retry on failure option there.Otherwise, SSIS by itself can't do this.
Free Windows Admin Tool Kit Click here and download it now
November 13th, 2007 12:34am
Thanks for the prompt reply
CanI at least test the connection to the database in packagebefore I decide what I am going to do? If yes how to do it?
November 13th, 2007 12:54am
Yes, you can use a script task to test the connection. You'd just use the OLE DB classes in .NET. You'd probably need to set the DelayValidation property to true on the connection manager and any other tasks that use the connection.
Free Windows Admin Tool Kit Click here and download it now
November 13th, 2007 5:03am
thanks that worked
November 20th, 2007 11:03pm