Interview QuestionsCategory: MySQLWhat is the use of ENUM in MySQL?
bestonetechnologies Staff asked 2 years ago

What is the use of ENUM in MySQL?

1 Answers
bestonetechnologies Staff answered 2 years ago

ENUM is used to specify set of predefined values in table.
like: isActive ‘0’,’1′
OR
isSold ‘Y’,’N’

It’s a string object, so take less space then integer.

Your Answer

16 + 15 =