Answers for "sql server add unique constraint to existing table"

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 "sql server add unique constraint to existing table"

Code answers related to "SQL"

Browse Popular Code Answers by Language