Possible field types:
BINARY(16) CHAR(32) BIGINT + BIGINT
How do I decide which one to use?
If the column is indexed and you know what you're doing, BINARY(16) for performance reasons.
BINARY(16)
Otherwise, CHAR(32) is fine. Make sure the column uses the ascii charset though. (ascii_bin for example)
CHAR(32)
ascii_bin
2.1m questions
2.1m answers
60 comments
57.0k users