What are ENUMs used for in MySQL?
By Arun Desai
What are ENUMs used for in MySQL?
Teacher SiliconIndia replied to Arun Desai Thursday, March 18, 2010
Hi Arun,
You can limit the possible values that go into the table. CREATE TABLE months (month ENUM 'January', 'February', 'March',); INSERT months VALUES ('April');