Answered by:
Maximum Length

Question
-
User429228380 posted
Maximum Length of Table Name in SQL Server?
Wednesday, June 15, 2016 1:53 PM
Answers
-
User-1672470423 posted
128. Go through below article specifying how to figure it out.
http://blog.sqlauthority.com/2014/03/07/sql-server-retrieve-maximum-length-of-object-name-with-sp_server_info/
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 2:04 PM -
User1751268424 posted
128 chars, reff: https://technet.microsoft.com/en-us/library/ms172451(v=sql.110).aspx
Have fun
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 2:12 PM -
User77042963 posted
The datatype of the column to hold your table name is sysname, which is nvarchar(128).
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 2:24 PM -
User364663285 posted
128 characters. This is the max length of the sysname datatype (nvarchar(128)).
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 16, 2016 10:01 AM -
User-1636183269 posted
All table name can have minimum 1 to maximum of 128 characters in their names in SQL Server. Except few exception is local, temporary tables that can have a maximum of 116 characters.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 16, 2016 12:01 PM
All replies
-
User-1672470423 posted
128. Go through below article specifying how to figure it out.
http://blog.sqlauthority.com/2014/03/07/sql-server-retrieve-maximum-length-of-object-name-with-sp_server_info/
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 2:04 PM -
User1751268424 posted
128 chars, reff: https://technet.microsoft.com/en-us/library/ms172451(v=sql.110).aspx
Have fun
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 2:12 PM -
User77042963 posted
The datatype of the column to hold your table name is sysname, which is nvarchar(128).
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 2:24 PM -
User364663285 posted
128 characters. This is the max length of the sysname datatype (nvarchar(128)).
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 16, 2016 10:01 AM -
User-1636183269 posted
All table name can have minimum 1 to maximum of 128 characters in their names in SQL Server. Except few exception is local, temporary tables that can have a maximum of 116 characters.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 16, 2016 12:01 PM