Boolean values in MySQL
| From: | Cal Evans | Date: | Sun, 14 Jan 2001 00:35:14 +0000 |
| Subject: | Boolean values in MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5845@lists.php.net to get a copy of this message | ||
Question to those of you using MySQL.
What is the accepted practice for storing boolean values? Do you use a
tinyInt 0=false 1=true or an enum("T","F")? Or is there another way I'm not
seeing?
Cal
*
* Professional Nerd Herder
* http://www.calevans.com
*