SQL Server 2005: Rename DB Server Instance Name?
- by Code Sherpa
Hi,
Can somebody tell me how to rename the DB server instance name and a DB name
in SQL Server 2005?
Right Now I Have
SERVER/OLDNAME
-- oldnameDB
I want to change the server instance and also change the db name.
I have tried:
EXEC sp_renamedb 'oldName', 'newName'
and that has changed the dbname as it appers in the tree directory.
But,…