Code has been added to clipboard!
Naming Constraints in SQL UNIQUE
Example
CREATE TABLE People (
ID int NOT NULL,
LName varchar(255) NOT NULL,
FName varchar(255),
Year int,
CONSTRAINT UC_Person UNIQUE (ID,LName)
);
Code has been added to clipboard!
CREATE TABLE People (
ID int NOT NULL,
LName varchar(255) NOT NULL,
FName varchar(255),
Year int,
CONSTRAINT UC_Person UNIQUE (ID,LName)
);