Integer Types

suggest change

The smallest unsigned value is always 0. Signed ranges are from -2^(N-1) through 2^(N-1)-1, where N is the bit width.

Type Storage Signed minimum Signed maximum Unsigned maximum
TINYINT 1 byte -128 127 255
SMALLINT 2 bytes -32768 32767 65535
MEDIUMINT 3 bytes -8388608 8388607 16777215
INT 4 bytes -2147483648 2147483647 4294967295
BIGINT 8 bytes -9223372036854775808 9223372036854775807 18446744073709551615

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents