What is a reasonable length limit on person “Name” fields?

后端 未结 11 1118
心在旅途
心在旅途 2020-12-22 18:45

I have a simple webform that will allow unauthenticated users to input their information, including name. I gave the name field a limit of 50 characters to coincide with my

11条回答
  •  渐次进展
    2020-12-22 19:14

    The average first name is about 6 letters. That leaves 43 for a last name. :) Seems like you could probably shorten it if you like.

    The main question is how many rows do you think you will have? I don't think varchar(50) is going to kill you until you get several million rows.

提交回复
热议问题