1
Tinkering with MySQL and wondered if anyone can advise me on this.
If I want to store the number 200, is it best to use:
a) TINYINT(4) UNSIGNED (which gives me 0 - 255)
or
b) SMALLINT(4) which allows for -32768 to 32767.
I read several places on the MySQL site that 'unsigned' is 'non-standard' so I wondered if it's worth bothering with for the amount of space saved. I also need to perform some 'sum' calculations at some point so I want to use the right data type.
Any tips would be apreciated
A thread is for life. Not just for Christmas.