List:General Discussion« Previous MessageNext Message »
From:Daevid Vincent Date:November 8 2002 1:49pm
Subject:RE: True/False
View as plain text  
According to http://www.mysql.com/doc/en/Column_types.html

BIT & BOOL -- These are synonyms for TINYINT(1). 

DÆVID.

> -----Original Message-----
> From: Oluwagbamila Oyekanmi 
>
> Use the data type BOOL which takes a 1 or 0 character or use 
> CHAR and then you can use Y or N for Yes/No.

Or how about "T" or "F" for True/False instead ;-)


> Regards,
> 'Gbamila
> ----- Original Message -----
> From: "Tony Roberts" <troberts@stripped>
> 
> > I the past I have used a Boolean data type for True/False, 
> Yes/No type data.
> >
> > What data type should be used to achieve the storage of 
> this type of data in MySQL?
> >
> > I have bought the reference manual (a good buy IMHO) but so 
> far can't find the answer.

Thread
True/FalseTony Roberts8 Nov
  • RE: True/FalseJohn Meyer8 Nov
  • Re: True/FalseOluwagbamila Oyekanmi8 Nov
    • RE: True/FalseDaevid Vincent8 Nov
  • Re: True/FalseInsanely Great8 Nov