MySQL: int(1) 跟 int(20)其实是一码事

int(1)和int(20)的存储长度是一样的,都是32位。 

1和20的区别仅仅在于:mysql command-line client在显示数据时显示多少位。

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.