SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Parameters/Variables in SSIS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sql_server_dba
Posting Yak Master

167 Posts

Posted - 01/29/2013 :  20:58:14  Show Profile  Reply with Quote
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

India
52325 Posts

Posted - 01/29/2013 :  23:44:12  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000