Skip to content

Use valid SQL logical server names#

Operational Excellence · SQL Database · Azure.SQL.ServerName

Azure SQL logical server names should meet naming requirements.

Description#

When naming Azure resources, resource names must meet service requirements. The requirements for SQL logical server names are:

  • Between 1 and 63 characters long.
  • Lowercase letters, numbers, and hyphens.
  • Can't start or end with a hyphen.
  • SQL logical server names must be globally unique.

Recommendation#

Consider using names that meet Azure SQL logical server naming requirements. Additionally consider naming resources with a standard naming convention.

Notes#

This rule does not check if Azure SQL logical server names are unique.


Last update: 2021-09-24