A column that has a uniqueness constraint must have a unique value for every record.
Primary key columns automatically require uniqueness. Uniqueness can also be required for other columns. For example, in a users
table, userid
is the primary key column, but username
also must be unique.
The following generators can be used with columns that have uniqueness constraints: