UUID or GUID as Primary Keys? Be Careful!
Tom Harrison Jr
3K47

The 4th reason UUID / GUID’s are good is really important: it allows users to change their names, their SIN numbers, their email addresses, and your system can handle that if you key with UUID / GUID.

Yes, don’t store them as Strings in a DB. Store them as BINARY(16) or VARBINARY if your db supports those column types.

Like what you read? Give Bit-Booster! a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.