What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 129 Stack Exchange communities.

I recently tried to a make a edit to a post, I made changes to the body of the post and kept the title as it is. I got the following message and then I had to edit the title to place the edit.

Title too long

So, this validation should be placed at the time of asking the question. What do you say ?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I suspect this is simply an old question; the restriction on title length was put in place in May 2010 and the question is older than this change. The Title column in the Posts table is a nvarchar(250).

There are only 325 questions with titles longer than 150 characters; so, I don't see this as a major problem.

The "proper" solution would be to change all of these questions to have a title length of 150 or less characters and alter the column or add a constraint. I'm not sure it's worth the bother; it depends whether all the checks are done in code, or not.

Interestingly, the newer Stack Exchange sites have a maximum size of nvarchar(250) as well; a just in case thing?

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .