Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

add unique constraint sql server multiple columns

ALTER TABLE dbo.User
  ADD CONSTRAINT ucCodes UNIQUE (fcode, scode, dcode)
 
PREVIOUS NEXT
Tagged: #add #unique #constraint #sql #server #multiple #columns
ADD COMMENT
Topic
Name
3+9 =