MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Scott Haneda Date:July 23 2004 10:35pm
Subject:Best field type for status codes
View as plain text  
I often find I am using a field called 'status' and almost always store
boolean 1 or 0 in it, sometimes I may need a 2 or 3, but never greater than
9 for sure, Is tinyint(1) pretty much the most efficient storage means for
this type?
-- 
-------------------------------------------------------------
Scott Haneda                                Tel: 415.898.2602
http://www.newgeo.com                       Fax: 313.557.5052
scott@stripped                            Novato, CA U.S.A.


Thread
Best field type for status codesScott Haneda24 Jul
  • Re: Best field type for status codesRaj Shekhar24 Jul