Should I use BIT(1) or BOOL?

Posted by Malfist on Stack Overflow See other posts from Stack Overflow or by Malfist
Published on 2010-03-20T14:47:11Z Indexed on 2010/03/20 14:51 UTC
Read the original article Hit count: 81

Filed under:

Mysql has two types that can hold boolean data, bit and bool. Bit(1) seems more logical, because that has to be 1 or 0, bool is, according to the specs, the same as saying tinyint(1)

© Stack Overflow or respective owner

Related posts about mysql