首頁 > 資料庫 > mysql教程 > sqlserver exchange instance name

sqlserver exchange instance name

WBOY
發布: 2016-06-07 15:09:50
原創
1345 人瀏覽過

0 down vote I followed the procedure mentioned in http://sqldbpool.com/2008/09/03/how-to-change-sql-server-instance-name/like this For default instance sp_dropserver 'old_name'gosp_addserver 'new_name','local'go For named instance sp_drops

 

0down vote

I followed the procedure mentioned in http://sqldbpool.com/2008/09/03/how-to-change-sql-server-instance-name/like this

For default instance

<code>sp_dropserver 'old_name'
go
sp_addserver 'new_name','local'
go
</code>
登入後複製

For named instance

<code>sp_dropserver 'Server Name\old_Instance_name'
go
sp_addserver 'ServerName\New Instance Name','local'
go</code>
登入後複製

 

down votefavorite

 

I installed VS2010 and it automatically installed SQL Server 2008 Express.

Now, the installed instance is called SQLEXPRESS, therefore to connect to it I have to use 'localhost\SQLEXPRESS' or '.\SQLEXPRESS' or something like that.

I want to rename the instance so I can connect using only my computer name or 'localhost'.

How do I do this?

 

I'm not sure of the express version of SQL Server bundled with VS 2010, but with the Standalone SQL Express 2008 (or R2), running the setup again will let you create a new instance.

enter image description here

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板