Answers for "how to add unique constraint in sql server on existing column"

SQL
3

sql server add unique constraint

-- Add a Unique constraint and deifine the constraint name
ALTER TABLE TableName
ADD	CONSTRAINT TableName_ColumnName_Unique UNIQUE (ColumnName)
Posted by: Guest on January-22-2021

Code answers related to "how to add unique constraint in sql server on existing column"

Code answers related to "SQL"

Browse Popular Code Answers by Language