I know that the number inside parenthesis does not control the storage limit; but I am curious why it is popular to write INT(11) when it only stores 10 digits (unsigned 4,294,967,295). Using numbers smaller than the capacity like tinyint(1) is understandable but why higher?
I know that the number inside parenthesis does not control the storage limit; but
Share
A signed integer is 11: 10 digits + 1 sign
An unsigned integer is 10.