alter table add auto_increment column in sql server code example
Example 1: sql query to make a existing column auto increment
Alter table table_name modify column_name datatype(length) AUTO_INCREMENT PRIMARY KEY
Example 2: alter table auto_increment
ALTER TABLE ALLITEMS CHANGE itemid itemid INT(10)AUTO_INCREMENT PRIMARY KEY;