Forum : What are ENUMs used for in MySQL?
Brief description  about Online courses   join in Online courses
View Arun  Desai 's Profile

What are ENUMs used for in MySQL?

What are ENUMs used for in MySQL?
Asked by Arun Desai | Mar 18, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
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');
Mar 18, 2010