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:[EMAIL PROTECTED]] Sent: January 31, 2003 06:46 To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] --------------------------------------------------------------------- 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 <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- 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 <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php