When constraints are created, they are given names that look something like this: "FK5E6B788655A1514E."
I am wondering if name generation is deterministic or random. I noticed that the two separate databases that I used, the same schemas, ended up with the same FK names.
Does it make sense when creating a script update from one version of a schema to another to use these constraint names?
source
share