From: Dan Nelson Date: January 25 2002 4:49pm Subject: Re: MySQL Checkbox table field List-Archive: http://lists.mysql.com/mysql/97469 Message-Id: <20020125164859.GR87583@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In the last episode (Jan 25), Michael Collins said: > At 10:58 AM -0500 1/25/02, Vernon A Webb wrote: > > > database,sql,query,table > > > >Which field type do I use for a simply checkbox Y,N? > > How about CHAR(1)? The BIT type seems to be the best fit. It's currently a synonym for CHAR(1), but there's a TODO item: * Optimise `BIT' type to take 1 bit (now `BIT' takes 1 char). -- Dan Nelson dnelson@stripped