Organizational Research By

Surprising Reserch Topic

What are ENUMs used for in MySQL?

asked Sep 13, 2013 in MYSQL by rajesh
edited Sep 12, 2013
0 votes

Related Hot Questions

1 Answer

0 votes
ENUM is used to limit the possible values and store it together. It is a function that can be created to store the similar values together. It is used in creation of table. The syntax of it is as follows:
CREATE TABLE months (month ENUM “January”, “February”, “March”,…); 
INSERT months VALUES (“April”);
answered Sep 13, 2013 by rajesh
edited Sep 12, 2013