Search code examples
sql-serversql-server-2008t-sql

SQL Server: Maximum character length of object names


What is the maximum character length of object name (e.g. constraint, column) in SQL Server 2008?


Solution

  • 128 characters. This is the max length of the sysname datatype (nvarchar(128)).