Monday 22 May 2017

Explain ENUM in MySQL?

An ENUM is a string object with a value chosen from a list of permitted values that are enumerated explicitly in the column specification at table creation time. Below are the advantages of creating ENUMS:
  • Compact data storage in situations where a column has a limited set of possible values.
  • Readable queries and output.

No comments:

Post a Comment

Advertisement

Advertisement