|
A constraint that uniquely identifies each record in a database table
Uma restrição que identifica exclusivamente cada registro em uma tabela de banco de dados
The following SQL creates a PRIMARY KEY on the "ID" column when the "Persons" table is created:
O seguinte SQL cria uma PRIMARY KEY na coluna "ID" quando a tabela "Pessoas" é criada:
CREATE TABLE Persons (
ID int NOT NULL,
LastName varchar(255) NOT NULL,
FirstName varchar(255),
Age int,
PRIMARY KEY (ID)
); |
|