int(11) vs. int(anything else)

前端 未结 7 2105
借酒劲吻你
借酒劲吻你 2020-11-27 15:19

I\'m new to web programming and doing different tutorials that I can find on the net.

I did my research and found out that in int(11), 11 is the maximum display widt

7条回答
  •  青春惊慌失措
    2020-11-27 15:57

    It's not performance increase neither difference in maximum allowed size.

    It's only used when ZEROFILL is applied on that column. (See: http://alexander.kirk.at/2007/08/24/what-does-size-in-intsize-of-mysql-mean/)

提交回复
热议问题