Unique Key In Sql. We can create a unique key on both single and multiple columns. Unique constraint or unique key in sql server enforces the uniqueness of the column value.

One row represents one constraint/index in the database. On the table designer menu, select indexes/keys. We use constraint for enforce data integrity.