Re: [PHP-DB] Re: Yes or No

2001-10-02 Thread j.urban
An enum should work fine as you've described, but remember that the ENUM type is a MySQL proprietary type and if you ever want to convert to another database (Oracle, PostgreSQL, MSSQL, Etc.), you may have to find an appropiate solution (i.e. convert to integer and use 0 and 1)... On Tue, 2 Oct

Re: [PHP-DB] Re: Yes or No

2001-10-02 Thread Jordan Elver
I've decided on enum. Should work fine. I've used it before and it works fine with PHP. Thanks for everyone help, Jord On Tuesday 02 October 2001 12:13, you wrote: > >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 ch