SyntaxFix
Write A Post
Hire A Developer
Questions
The SQL command is:
ALTER TABLE <tablename> ADD CONSTRAINT <constraintname> UNIQUE NONCLUSTERED ( <columnname> )
See the full syntax here.
If you want to do it from a Database Diagram: