Re: best way to stare true, false
| From: | Raquel Rice | Date: | Sat, 10 Aug 2002 15:29:09 +0000 |
| Subject: | Re: best way to stare true, false | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21093@lists.php.net to get a copy of this message | ||
On Sat, 10 Aug 2002 16:46:54 +0200
"andy" <news.letters@gmx.de> wrote:
> Hi there,
>
> I am searching for the best way to store true or false inside a
> MySQL DB. With best I mean the most data efficient way and in the
> same time the best for fast searching later on the table to find
> all which are false, or true. I think I did read something about a
> way to do this with ENUM, but cant remember where and how, all
> tryes did not succeeed so far.
>
> Thanx for any help on that.
>
> Andy
How about as a "tinyint" ... 0/1
--
Raquel
============================================================
The world is not good enough - we must make it better.
--Alice Walker