Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can we assign a logical name to a sql instance please? We would need to as to property identify messages coming through from the server.


Thanks much for your replies. Yes it is for the instance name. Is it possible to assign one once the installation is already done? We now have two instances in this box, the other is server_name\inst2008. And it is the first instance that we want to name properly - which is now "local". I've considered Alias but I want to know another option - if there is. This instance is a SQL 2000 by the way.

Sorry just to clarify this topic... We have a server that for some reasons doesn't have a logical name - it doesn't have an entry in the sys.servers table for the local server (server_id = 0).

With some research and testing I was able to do this using sp_dropserver and sp_addserver commands.

share|improve this question

What I can think of is a server alias.

In SQL Server Configuration Manager, expand SQL Native Client Configuration, right-click Aliases, and then click New Alias.

share|improve this answer

Do you mean an instance name? Instance names are assigned when SQL Server is installed. If this isn't an answer please be more specific as to what you are trying to do.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.