My Technical Notes

Wednesday, 9 October 2013

SQL Server - Adding a Unique -ness Constraint on a Column


ALTER TABLE dbo.TableName
ADD UNIQUE(ColumnName)

No comments: