Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
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: Monday, November 23, 2015 6:26 PM
Points: 175, Visits: 785
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: Monday, November 9, 2015 6:46 AM
Points: 2,054, Visits: 3,647
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