MySQL data type
Programming question...you decide...
anyway, i'm having some trouble understanding some mysql data types...
in general :
tinyint(NUM)
in NUM , am i specifiying the MAX number ...ie tinyint(4) ranging from 0-3 (unsigned that is)
or am i specifying the number of bits/bytes used to store the tiny little integer?
on the mysql website , for BOOL they use tinyint(1)...that confused me even more..
maybe the explanation was given on that site somewhere and i just missed it, but if anyone can help clarify this that'd be swell.
as always, thank you
Last edited by jhorvath; 06-29-2003 at 11:39 PM.
|