MySQL UUID example
Let’s take a look at an example of using UUID as the primary key.
The following statement creates a new table named
customers:
To query data from a UUID column, you use
BIN_TO_UUID() function to convert binary format to human-readable format:
No comments:
Post a Comment