Answers for "how to add unique constraint in sql while creating 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 "how to add unique constraint in sql while creating table"

Code answers related to "SQL"

Browse Popular Code Answers by Language