[Last Call] Learn how to a build a cloud-first strategyRegister Now


SQL Server instance naming conventions

Posted on 2004-11-18
Medium Priority
Last Modified: 2010-05-18
Does anyone have any suggestions for a good naming convention for SQL Server instances?

I have taken over a group of SQL Servers with mostly default names but more instances will be installed in the future.  I'm looking to distinguish between DEV, Test and Production instances.  

Apps are involved of course but I'm not sure if I should attempt to include, say, three letters that represent the app.  

Also not sure if I should include, say, three letters representing the company's name.  

Also not sure if I should include 'SQL' somewhere in there.

I've also seen variations where DBA's have included the letter 'V' for virtual and 'I' for instance.

I would like to hear some opinions about what is a good, simple and flexible naming convention.

Question by:AustinSeven
  • 2
LVL 18

Expert Comment

ID: 12613628
Hi Austin.   I gues from "Also not sure if I should include, say, three letters representing the company's name. "   you have identified that the key issue really is that of  "How do I name my instances so that they wont conflict with any that may be from a vendor?"

I dont think there is any point in putting "SQL" into the name as by definition it is sql.   i also dont think there is any point in using I or V etc as a prefix,   since by definition an unnamed instance is refered to as <MachineName> and a named instance as <MachineName>\<InstanceName>   thus there is already an inbuilt distinction.

I use named instances quite a bit.  especially with shipped out MSDE.    The approach we take is to have an initial 4 chars indicating the companyname  + '_' + a part distinguising the purpose of the instance + if required '_T' for test or '_D' for dev

eg: (not that i work for FORD ,but)

SERVER1\FORD_Sales_D    --Dev instance  
SERVER1\FORD_Sales_T    -- Test instance
SERVER1\FORD_Sales       -- live instance

The problem is when the name is already in use.   Im afread there is no easy answer to this other than in the pre-install to verify it. and abort or use reserve instance name.

LVL 13

Assisted Solution

KarinLoos earned 700 total points
ID: 12613629
my 2 cents

I would not include app references in the instance name, essentially you might decide to move apps in the future and are then
stuck with a naming reference which at that stage doesnt apply. Also SQL server is not restricted to only running 1 database
at a time, you can have multiple db's on a server , each associated with a different app.

THe i / v  reference might be useful.
LVL 18

Accepted Solution

ShogunWade earned 300 total points
ID: 12655252
Do you need any more assistance with this question ?
LVL 10

Author Comment

ID: 12656060


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question