php-db | 2001011
Date: 01/14/01
- Next message: JJeffman: "Re: [PHP-DB] Desperate Help needed"
- Previous message: Toby Butzon: "Re: [PHP-DB] PHP "confirm" function?"
- In reply to: Cal Evans: "[PHP-DB] Boolean values in MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm using tinyint. If you are afraid of data volume I think char(1) with
"T/F" values uses less disk space but requires more sophisticated code to
deal with.
Jayme.
http://www.conex.com.br/jjeffman
-----Mensagem Original-----
De: Cal Evans <cal <email protected>>
Para: <php-db <email protected>>
Enviada em: sábado, 13 de janeiro de 2001 22:35
Assunto: [PHP-DB] Boolean values in MySQL
> 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
> *
>
>
----------------------------------------------------------------------------
----> -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe <email protected> > For additional commands, e-mail: php-db-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: JJeffman: "Re: [PHP-DB] Desperate Help needed"
- Previous message: Toby Butzon: "Re: [PHP-DB] PHP "confirm" function?"
- In reply to: Cal Evans: "[PHP-DB] Boolean values in MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

