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.

HTH

JFernando
* 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...

Regards

David Hefford
Power On Solutions
Web: http://www.poweron.com.au
Email: sales@stripped





---------------------------------------------------------------------
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-thread131298@stripped>
To unsubscribe, e-mail
<mysql-unsubscribe-fernando=ggtours.on.ca@stripped>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


Thread
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