Answers for "unique key on multiple columns in sql server"

SQL
0

add unique constraint sql server multiple columns

ALTER TABLE dbo.User
  ADD CONSTRAINT ucCodes UNIQUE (fcode, scode, dcode)
Posted by: Guest on July-29-2021
1

unique constraint mssql

USE AdventureWorks2012;  
GO  
CREATE TABLE Production.TransactionHistoryArchive4  
 (  
   TransactionID int NOT NULL,   
   CONSTRAINT AK_TransactionID UNIQUE(TransactionID)   
);   
GO
Posted by: Guest on August-03-2020

Code answers related to "unique key on multiple columns in sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language