Re: ENUM() vs TINYINT

2015-09-22 Thread shawn l.green
On 9/21/2015 9:03 AM, Richard Reina wrote: I have a column name quarter which I need to have 5 possible inputs; 1, 2, 3, 4, or OT. Because of the OT possibility I am leaning towards ENUM. Hence, I am also thus considering ENUM('first', 'second', 'third', 'fourth', 'overtime') as the input will

Re: ENUM() vs TINYINT

2015-09-21 Thread Jan Steinman
> From: Richard Reina > > I have a column name quarter which I need to have 5 possible inputs; 1, 2, > 3, 4, or OT. Because of the OT possibility I am leaning towards ENUM. > Hence, I am also thus considering ENUM('first', 'second', 'third', > 'fourth', 'overtime') as the input will primarily be

Re: ENUM() vs TINYINT

2015-09-21 Thread Basil Daoust
I'm sure your enum is a fine option, but 0,1,2,3,4 would do the same thing. And you could add a comment to the table to describe it if desired. On Mon, Sep 21, 2015 at 8:03 AM, Richard Reina wrote: > I have a column name quarter which I need to have 5 possible inputs; 1, 2, > 3, 4, or OT. Becaus

Re: ENUM vs TINYINT

2004-06-25 Thread Tim Brody
uot;Cemal Dalar" <[EMAIL PROTECTED]> Cc: "Group MySQL List" <[EMAIL PROTECTED]> Sent: Friday, June 25, 2004 8:01 AM Subject: Re: ENUM vs TINYINT > Cemal, > > I recall hearing a similar question mentioned in a previous email > thread. In fact, here it is: &

Re: ENUM vs TINYINT

2004-06-25 Thread Brian Mansell
Cemal, I recall hearing a similar question mentioned in a previous email thread. In fact, here it is: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=c6h60e%2419dd%241%40FreeBSD.csie.NCTU.edu.tw&rnum=1&prev=/groups%3Fq%3D%2522enum%2Bor%2Btinyint%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26sel