Home > database >  Consulting a mysql int length problem
Consulting a mysql int length problem

Time:12-12

Int (1) can be inserted into the 123456, int the maximum length is 11, why int (12) is not an error, the precision of the int feel no dice?

CodePudding user response:

MYSQL, int type, behind the figures in the parentheses, fill out a few, are all the same, anyway this number, in the system, simply use less than,

CodePudding user response:

MySql integer length, it is used for covering, fill 0, in front of the actual storage data does not affect the
  • Related