I know this is a somewhat trivial questoin, but I have actually done my research, and I do have it implemented, I'm just looking for a better way...
(using mySQL 4.0.12)
No pre-defined boolean type in mySQL...
I thought I remembered reading somewhere that I could store booleans in mySQL by flipping a single bit, thereby saving a ton of space... can't seem to see how to do this though... instead I'm using a tiny-int, but if I'm not mistaken in my quick binary math, that's still 8 bits.
Thanks for any help.
-Rob
(using mySQL 4.0.12)
No pre-defined boolean type in mySQL...
I thought I remembered reading somewhere that I could store booleans in mySQL by flipping a single bit, thereby saving a ton of space... can't seem to see how to do this though... instead I'm using a tiny-int, but if I'm not mistaken in my quick binary math, that's still 8 bits.
Thanks for any help.
-Rob