Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Parameters/Variables in SSIS

Author  Topic 

sql_server_dba
Posting Yak Master

167 Posts

Posted - 2013-01-29 : 20:58:14
Staging server A has 6 different databases and all of them will have same tables in them. I am building an SSIS package to load the data from 6 databases into one database in target server B. What would be the best way to have the parameters set for this so that i build only one package and it will process data from all the 6 databases? Any inputs will be appreciated.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-01-29 : 23:44:12
You dont need any parameters. You just need a for each loop to loop through the databases and then inside loop put a data flow task to move data from corresponding db to your target table.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -