List:General Discussion« Previous MessageNext Message »
From:Oluwagbamila Oyekanmi Date:November 8 2002 11:45am
Subject:Re: True/False
View as plain text  
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.

Regards,
'Gbamila
----- Original Message -----
From: "Tony Roberts" <troberts@stripped>
To: <mysql@stripped>
Sent: Friday, November 08, 2002 12:26 PM
Subject: True/False


> I am new to MySQL and I am attempting a new project to help me learn.
>
> 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.
>
> Regards
>
>
> Tony Roberts
> Mailbox Solutions Ltd
> troberts@stripped
> 01777  700 600
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.389 / Virus Database: 220 - Release Date: 16/09/02
>
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <mysql-thread124396@stripped>
> To unsubscribe, e-mail
<mysql-unsubscribe-ooyekanmi=mail.ecoweb-nigeria.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>

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