Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- Best data type for drop down of hours and days


LifeinAsia - 5:16 pm on Jul 29, 2010 (gmt 0)


As long as your application will never need to allow more hours than TINYINT will hold (255, I believe). So if someone decides they need more than 10 days in the future, you'd have to change the field to SMALLINT.


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4178638.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com