I have this column that\'s INT(10) ZEROFILL NOT NULL DEFAULT \'0000000000\',
INT(10) ZEROFILL NOT NULL DEFAULT \'0000000000\',
But when I insert something like 9100000010, I get 42949
9100000010
42949
I belive you get int max value. INT(10) is ment for number padding not for limiting number of characters.
MySQL will try to pad these values with spaces/zeroes when returning them.