阅读背景:

为数据库列提供额外的大小/长度是否有任何缺点?

来源:互联网 

I usually set all my varchars to 255 to be safe. Does it make any difference in terms of the disk space or anything else? Is there any downside to having bigger varchars/ints/other fields than you would mostly need?I usually set all my varchars to 255 to be safe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: