Here is what i am trying to achieve,
1) Start the loop from 5 years back from current year
2) Check if database for that year is exist if not create new one ?
3) move the tables according to there year of creation into the database of that year ?
For this i have created the SSIS package i have added the the connection manager which connection string sets dynamically for each loop of year that connection string works fine when checking for the database existence and the creating new database but when the package try to execute the sql task for moving the data tables then it throws error as
[Execute SQL Task] Error: Connection manager "dummyserver.dummydatabase2012" does not exist.
any help would be great ..