Max length of SQL Server instance name?

后端 未结 4 951
死守一世寂寞
死守一世寂寞 2021-02-05 13:18

I need to know the maximum character length for the name of an instance of a SQL Server for the following versions (if there is a difference between them.)

  • SQL Ser
4条回答
  •  名媛妹妹
    2021-02-05 13:24

    The only instances where I've seen a character limit are for the SQL Server 2012, and that limit appears to be 16 as others have said. I have 2008 and 2008 R2 instances where the name doesn't seem to have been limited (e.g. MSRS10.MSSQLSERVER_2008), but that could just be that I didn't try for anything longer than 23 or 24 characters. I'm sorry this doesn't provide information from docs, but I hope it's helpful.

提交回复
热议问题