Creating a UNIQUE constraint is a clearer statement of the rule. The IsUnique attribute of the index is an implementation detail – how the rule is implemented, not what the rule is. The effect is the same though.
Creating a UNIQUE constraint is a clearer statement of the rule. The IsUnique attribute of the index is an implementation detail – how the rule is implemented, not what the rule is. The effect is the same though.