primary key auto inc insert sql code example
Example 1: mysql set id auto increment
ALTER TABLE users AUTO_INCREMENT=1001;
Example 2: id increment ms sql server
CREATE TABLE Persons (
Personid int IDENTITY(1,1) PRIMARY KEY,
LastName varchar(255) NOT NULL,
FirstName varchar(255),
Age int
);