Rules to follow while naming a SQL Server Instance
When planning to install SQL Server on a server, you need to plan ahead about the name of the SQL Server Instance. If you are installing a default instance then this is not necessary. There are certain rules you will have to follow when naming your SQL Instance and lets see what are some of the acceptable names and some non acceptable names for a SQL Server Instance.
Lets start with those names which are not accepted along with some examples….
Reserved Keywords in Microsoft SQL Server are not accepted. You cannot name a SQL Instance as DATABASE or ALTER or CREATE or SCHEMA (of course Capitals Letters does not matter). See the below pic when I try to name the SQL Instance as DATABASE..
As long as they are less than 17 characters, some of the acceptable names can be..
- SQLServer123
- SQL_Server_123
- SQL_Server#123
- SQL$Server123