sql increment id code example
Example 1: increment integer in table sql
UPDATE myTable
SET ID = ID + 1
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
);