1.

What Is The Usage Of Enums In Mysql?

Answer»

ENUMS are used to LIMIT the possible values that GO in the table:

For EXAMPLE: CREATE TABLE MONTHS (month ENUM 'January', 'February', 'March'); INSERT months VALUES ('April').

ENUMs are used to limit the possible values that go in the table:

For example: CREATE TABLE months (month ENUM 'January', 'February', 'March'); INSERT months VALUES ('April').



Discussion

No Comment Found