Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What are ENUMs used for in MySQL?

6 like 0 dislike
Hello
What are ENUMs used for in MySQL?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by eagles11 (179,830 points)

1 Answer

1 like 0 dislike
 
Best answer
You can limit the possible values that go into the table. CREATE TABLE months (month ENUM ‘January’, ‘February’, ‘March’,…); INSERT months VALUES (’April’);
answered 1 year ago by DBA-boss (120,990 points)

Related questions

3 like 0 dislike
1 answer
4 like 0 dislike
1 answer
8 like 0 dislike
1 answer
4 like 0 dislike
1 answer
asked 1 year ago by eagles11 (179,830 points)
6 like 0 dislike
1 answer