Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Rename a database Expand / Collapse
Posted Friday, March 11, 2011 8:56 AM


Group: General Forum Members
Last Login: Thursday, March 3, 2016 9:34 PM
Points: 175, Visits: 816
This question goes out to any one who can answer :)

I just want to know when we rename a database use either a alter method or a SSMS. what is the effect on the server of that ?
meaning lets say I change a database name on a production box..
what if we have SSIS packages running using the database name, I presume we have to change names in ssis there too.

Will it have an effect on the client/application side with the connection to this above mentioned database?

any insight is helpful
Post #1076961
Posted Friday, March 11, 2011 10:07 AM



Group: General Forum Members
Last Login: Tuesday, April 26, 2016 11:13 AM
Points: 2,056, Visits: 3,650
Yes, any reference to that database will have to be changed to the new name; whether in SSIS, query, connection string, etc. Best to log all connections to that database for a while and see where they are coming from and get a consolidated list before renaming.



“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Post #1077034
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse