Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

add auto increment column mysql

ALTER TABLE `table_name` ADD COLUMN `id` INT AUTO_INCREMENT UNIQUE FIRST;
Source by dev.mysql.com #
 
PREVIOUS NEXT
Tagged: #add #auto #increment #column #mysql
ADD COMMENT
Topic
Name
8+1 =