I have an SSIS package with a for loop.
I would like to keep the value “10pm” in my sql database, and I want the loop the check every time if it’s after this value of “10pm” (or whatever i decide to put in the database). If the time now is after 10pm, then stop looping.
Thanks.
Use an Execute SQl Task before For Loop .Write an expression to get the time .
Store the above value in a variable and in the precedence constraint check if the variable value is greater then 10 then Failure else success