This is an automated archive.

The original was posted on /r/mysql by /u/nrctkno on 2023-08-07 15:18:42+00:00.


I use UUIDs represented as char(36) for PKs/FKs. However, developers may manually insert an invalid value. Is there any way to add a constraint to ensure all inserted values in these fields are valid UUIDs?