mysql - Where does the max length of 255 for CHAR fields come from? -


i mean 255 doesn't natural in context of computer science.

i guess it's related 256, makes more sense in same context, wonder how.

one byte = 8 bits. 2 ^ 8 == 256 distinct values, have handle 0, range 0-255.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -