This blog shows how to add UNIQUE constraint to the existing table.
Syntax:
Alter table tablename
Add contraint(ConstraintName)
Unique(ColumnName)
Example:
Alter table emptable
Add Constraint(Unq_emptable_empsalary)
Unique(empsalary)
SQL Server Transact Basic to Expert - Add Unique Constraints to Existing Table
SQL Server Transact Basic to Expert - Add Unique Constraints to Existing Table


asda asasPosted May 10, 2011, 5:59 PM EDT
<strong><a href="http://www.westwoodjewelrystore.com/vivienne-westwood-brooches.html" target=_blank>vivienne westwood brooches</a></strong>