Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql query to make a existing column auto increment

Alter table table_name modify column_name datatype(length) AUTO_INCREMENT PRIMARY KEY
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #query #existing #column #auto #increment
ADD COMMENT
Topic
Name
9+9 =