SSIS set variable at runtime

Arcadian picture Arcadian · Oct 29, 2010 · Viewed 62.3k times · Source

Anyone know how I can change a SSIS variable at runtime?

I have a variable User:SkipStuff

I want to set this based on a condition during a for loop container

Answer

Chris Voon picture Chris Voon · Oct 3, 2013

Use Expression Task instead. In the "Expressions" pane, put the variable to set on left, then equates it to the intended value.

@[User::VariableToSet] = some expressions...

Expression Builder