In SQL Server Integration Services 2008 or previous versions once the variable is created with Scope , it was not possible to change the scope of that variable without deleting and recreating in correct scope.
In SSIS 2012, we can create variables without worrying about scope and then can move them to required scope.
SSIS 2008, there is no option available to move or change the scope of variable.
SSIS Move Variable Option
In SSIS 2012, we can create variables without worrying about scope and then can move them to required scope.
SSIS 2008, there is no option available to move or change the scope of variable.
SSIS Move Variable Option
In below snapshot we can see that the both variables were created on package level and then by using Move Variable Option we changed the scope for Variable1 from Package to For Loop Container.
Scope Changed from Package to For Loop Container