Skip to content

Use valid SQL logical server names#

Operational Excellence · SQL Database · Rule · 2020_12 · Awareness

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.

Comments