Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

SQL Server 2005 Vincolo univoco su due colonne

ALTER TABLE YourTable
ADD CONSTRAINT UQ_YourTable_ConstraintName UNIQUE(A, B)