How many values could be used in enum datatype in mysql ? I meant like emum('yes','no') ,here yes,no are values ,how many of these could be possible with enum
A quick lookup shows it's a max of 65535 elements. See the MySQL documentation .
http://dev.mysql.com/doc/refman/5.1/en/enum.html
An enumeration can have a maximum of 65,535 elements.
as of MySQL 5.0 - 5.6
According to this doc ,
An enumeration can have a maximum of 65,535 elements.
An enumeration can have a maximum of 65,535 elements.
An enumeration can have a maximum of 65,535 elements.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.