For MySQL Data type of "enum" and "set" what are the differences and advantages and disadvantages of using one versus the other?
Example data type:
The only difference that I am aware of is that ENUM only allows one value to be selected versus SET allows multiple values to be selected.
analogy:
ENUM = radio fields (only accepted values are those listed, may only choose one)
SET = checkbox fields (only accepted values are those listed, may choose multiple)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With