Does there exist a boolean column type? I checked the documentation, and it
says that there exists a BOOL but it is a tinyint(1). Should I use that as a
boolean?
thanks in advance,
prashant.
query to go through filter.
-
Before
"Thalis A. Kalfigopoulos" wrote:
Is there a boolean field type (Yes/No; True/False, 1/0) in MySQL or what is
closest to the boolean type
ShortInt: 0 == FALSE, 0 == TRUE
That's how I do it anyway.
Or maybe combine multiple bool fields to one and use bi
Is there a boolean field type (Yes/No; True/False, 1/0) in MySQL or what is closest
to the boolean type
On 01.03.2001 09:50:36 Blaz Grapar wrote:
Is there a boolean field type (Yes/No; True/False, 1/0) in MySQL or what is
closest to the boolean type
ShortInt: 0 == FALSE, 0 == TRUE
That's how I do it anyway.
Or maybe combine multiple bool fields to one and use binary logic
Blaz Grapar wrote:
Is there a boolean field type (Yes/No; True/False, 1/0) in MySQL or what is closest
to the boolean type
ENUM("no","yes")
-
Before posting, please check:
http://www.mysql.com/manu