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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

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

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 Change database in siss package
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

17 Posts

Posted - 09/30/2013 :  08:05:15  Show Profile  Reply with Quote

I have a database Z running with siss packages that import data from database X. A copy of database X is now running as database Y.
How can I change the siss packages to import data from database Y?


Kind regards,

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 09/30/2013 :  08:40:19  Show Profile  Reply with Quote
If the connection strings are in the configuration, you should be able to change the connection strings in the configuration. If it is not, you will need to edit the SSIS package using BIDS. Here is some info on where to look for the configuration:
Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 09/30/2013 :  10:13:02  Show Profile  Reply with Quote
you just need to add a config file if not already present and identify connection string as a configurable item inside it. Then depending on whether you chose to store config as a file or inside table you can edit the file or run an update query on the table to change dtabase information to make it point to new database.
You can also set this property from within sql server agent job step properties.

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next 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.06 seconds. Powered By: Snitz Forums 2000