How to: Rename a Computer that Hosts a Stand-Alone Instance of SQL Server 2005
2008-01-10 09:41
323 查看
How to: Rename a Computer that Hosts a Stand-Alone Instance of SQL Server 2005
1. For a renamed default instance, run the following procedures:
Get SQL SERVER NAME: select @@servername
sp_dropserver <old_name>
GO
sp_addserver <new_name>, local
GO
Restart the SQL Server instance.
2. For a renamed named instance, run the following procedures:
sp_dropserver <old_name\instancename>
GO
sp_addserver <new_name\instancename>, local
GO
Restart the SQL Server instance.
URL: http://msdn2.microsoft.com/en-us/library/ms143799.aspx
1. For a renamed default instance, run the following procedures:
Get SQL SERVER NAME: select @@servername
sp_dropserver <old_name>
GO
sp_addserver <new_name>, local
GO
Restart the SQL Server instance.
2. For a renamed named instance, run the following procedures:
sp_dropserver <old_name\instancename>
GO
sp_addserver <new_name\instancename>, local
GO
Restart the SQL Server instance.
URL: http://msdn2.microsoft.com/en-us/library/ms143799.aspx
相关文章推荐
- How to: Rename a Computer that Hosts a Stand-Alone Instance of SQL Server 2005
- Sql Server Express 2005提示"failed to generate a user instance of sql server "
- 转载:Character data is represented incorrectly when the code page of the client computer differs from the code page of the database in SQL Server 2005
- Validate FQDN of SQL Server Computer failed
- How to move the databases that are used by SharePoint Portal Server 2003 to a computer that is running SQL Server
- Display the size of all tables in Sql Server 2005
- Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path 解决(VS2010+IIS7.5)
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection
- HOW TO: Transfer Logins and Passwords Between Instances of SQL Server
- 【摘要】Failed to generate a user instance of SQL Server due to ...
- Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection
- Cannot connect to WMI provider.You do not have permission or the server is unreachable.Note that you can only manager SQL Server 2005 and later version with SQL Server Configuration Manager.Invalid namespace [0x8004100e]
- HOW TO: Change the Owner of a User-Defined Data Type That Is in Use in SQL Server 2000
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection
- Foundations of SQL Server 2005 Business Intelligence
- How to identity your Version of SQL Server 2005