- Enforce uniqueness of the column on which they are defined.
- By default, creates a clustered index on the column.
- Doesn't allow NULL value.
- A table can have only one primary key.
Unique Key:
- Enforce uniqueness of the column on which they are defined.
- By default, creates a non-clustered index on the column.
- Allows one NULL value.
- A table can have multiple unique keys.
No comments:
Post a Comment