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 2012 Forums
 SSIS and Import/Export (2012)
 Change database in siss package
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

djamit
Starting Member

16 Posts

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

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?

Thanks,

Kind regards,

James K
Flowing Fount of Yak Knowledge

3744 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: http://msdn.microsoft.com/en-us/library/cc671628.aspx
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 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
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
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.05 seconds. Powered By: Snitz Forums 2000