Appropriate data field type for true/false value?

Posted by Industrial on Stack Overflow See other posts from Stack Overflow or by Industrial
Published on 2010-06-07T12:09:07Z Indexed on 2010/06/07 12:12 UTC
Read the original article Hit count: 130

Filed under:
|
|
|
|

Hi everybody,

What's the most appropriate (read least data consuming) data field to store a true/false/1/0 value in a mySQL database?

I have previously used a one character long tinyint, but I am not sure if it's the best solution?

Thanks!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about integer