MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Fernando Grijalba Date:January 31 2003 7:12pm
Subject:RE: Newbie Q: Booleans??
View as plain text  
There is a BOOLEAN type, which really is a TINYINT.  Any non-zero value is
true and zero is false.

I use this columnt type with all my checkboxes in Visual Basic.


* sql *

-----Original Message-----
From: David Hefford [mailto:sales@stripped]
Sent: January 31, 2003 06:46
To: mysql@stripped
Subject: Newbie Q: Booleans??

Have used many databases but am just getting into MySQL and am totally rapt
about it :) I am writing a front end in realBasic that needs to be able to
run on various backends, MySQL being the main one. All of the others have a
boolean type of column. What is the general practice to ┬îmimic¹ a BOOLEAN
field in MySQL? PS: I do not need NULL or date for example, I just need true
or false, yes or no etc...


David Hefford
Power On Solutions
Email: sales@stripped

Before posting, please check:   (the manual)           (the list archive)

To request this thread, e-mail <mysql-thread131298@stripped>
To unsubscribe, e-mail
Trouble unsubscribing? Try:

Newbie Q: Booleans??David Hefford31 Jan
  • RE: Newbie Q: Booleans??Fernando Grijalba31 Jan
  • Re: Newbie Q: Booleans??Diana Soares31 Jan
  • Re: Newbie Q: Booleans??Zak Greant31 Jan