Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql server name

Status
Not open for further replies.

Jones25

Programmer
Jul 19, 2004
4
CA
hello,

if my computer name is x and sql server was installed and therefore took on the default name of x, can I change the sql server name to y at a later date? If so how do I do it?
The sp_addserver is internal recognition. But I want to connect to sql server using the new name y.

Any help is appreciated.

 
u have to rerun the setup again on that machine.
 
You must only run setup if you have SQL 7. When you run setup again, it will recognize the server name is different and update the registry. A complete reinstall is not required.

If you have SQL 2000, you can simply run sp_dropserver to droip the old server name and sp_addserver to add the new name.

See the following article.

Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
change the alias name in Client network utility and register the new alias in EM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top