dbTalk Databases Forums  

Changing Machine Names MSDE

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Changing Machine Names MSDE in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Frank Bishop
 
Posts: n/a

Default Changing Machine Names MSDE - 03-07-2006 , 10:23 PM






I have a local install of MSDE on my workstation. I have also defined a
linked server with another SQL Server on our network. I accepted all the
defaults when I installed MSDE and the server got named my machine name.
Everything is working great.

Our IT department now needs to change my machine name. What effect will
this have on my current SQL installation?

Help and suggestions appreciated.

Thanks,
Frank



*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Changing Machine Names MSDE - 03-11-2006 , 02:43 PM






Frank Bishop (fbishop (AT) viper (DOT) com) writes:
Quote:
I have a local install of MSDE on my workstation. I have also defined a
linked server with another SQL Server on our network. I accepted all the
defaults when I installed MSDE and the server got named my machine name.
Everything is working great.

Our IT department now needs to change my machine name. What effect will
this have on my current SQL installation?
If memory serves, the server name changes automatically. However,
@@servername usually gets messed up.

To this end to:

exec sp_dropserver 'oldname'
exec sp_addserver 'newname', 'local'

Then stop and restart SQL Server.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.