Quote:
| Originally Posted by taas Its just numbers in the range of 1 to 20. |
in that case, BIGINT is overkill
BIGINT requires
8 bytes and holds numbers between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807
INTEGER requires
4 bytes and holds numbers between -2,147,483,648 and 2,147,483,647
MEDIUMINT requires
3 bytes and holds numbers between -8,388,608 and 8,388,607
SMALLINT requires
2 bytes and holds numbers between -32,768 and 32,767
TINYINT requires
1 byte and holds numbers between -128 and 127
which of these is appropriate for your data?