Re: best way to stare true, false
| From: | andy | Date: | Sat, 10 Aug 2002 15:41:56 +0000 |
| Subject: | Re: best way to stare true, false | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21094@lists.php.net to get a copy of this message | ||
hmm.. thats how I am doing it right now. There might be a better way?!
"Raquel Rice" <raquel@thericehouse.net> schrieb im Newsbeitrag
news:20020810082909.53399902.raquel@thericehouse.net...
> 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
>