Reputation: 25304
What's the maximum value of smallint(6) unsigned
in MySQL?
Upvotes: 30
Views: 45983
Reputation: 12226
According to official MySQL documentation, the maximum value of an unsigned smallint is 65535.
The (6)
portion has no effect on the allowed range of the column; it only affects the display of the column in the MySQL command line interface.
Upvotes: 58