Adding the primary key for two columns




CREATE TABLE Persons (
    ID int NOT NULL,
    LastName varchar(255NOT NULL,
    FirstName varchar(255),
    Age int,
CONSTRAINT PK_Person PRIMARY KEY (ID,LastName)


Comments

Popular posts from this blog

CT and CDC Info