Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

add primary key to database sql

CREATE TABLE Persons (
    ID int NOT NULL,
    LastName varchar(255) NOT NULL,
    FirstName varchar(255),
    Age int,
    PRIMARY KEY (ID)
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #primary #key #database #sql
ADD COMMENT
Topic
Name
3+9 =