Odp: [PHP-DB] Yes or No
| From: | Unknown Sender | Date: | Tue, 02 Oct 2001 09:51:44 +0000 |
| Subject: | Odp: [PHP-DB] Yes or No | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12909@lists.php.net to get a copy of this message | ||
Use boolean field, it takes only values Yes/No, 0/1, True/False.
Bartek Pawlik
Poland
----- Original Message -----
From: Jordan Elver <jord@theinternetone.co.uk>
To: MySQL Mailing List <mysql@lists.mysql.com>; PHP DB Mailing List
<php-db@lists.php.net>
Sent: Tuesday, October 02, 2001 11:23 AM
Subject: [PHP-DB] Yes or No
> Hi,
> If I wanted to define a table to have a cloumn which is either yes or no
for
> example. Would it be better to use a single char (0 or 1), or can I use an
> enum (I find them more friendly ;)).
>
> Could you offer some advice?
>
> Thanks,
>
> Jord
> --
> Jordan Elver
> Web Developer
> The InternetOne UK Ltd
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
Zagraj z finalistkami
Miss Polonia [ http://miss.onet.pl/start.html ]