How big can an enum be?

On an 8-bit processor, enums can be 16-bits wide. On a 32-bit processor they can be 32-bits wide or more or less . The GCC C compiler will allocate enough memory for an enum to hold any of the values that you have declared. So, if your code only uses values below 256, your enum should be 8 bits wide.29 Haz 2016

Read more

Can enum have multiple values mysql?

We need more values then we need to change the list of possible values from the database which is more difficult for non programmers. The storage limits for ENUM types is 65535 possible values in the list and also a SET can allow upto 64 distinct values which are the chosen values in the set.

Read more