mysql remove auto increment

Solutions on MaxInterview for mysql remove auto increment by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "mysql remove auto increment"
Carmela
01 Jun 2018
1ALTER TABLE mytable CHANGE my_col my_col INT(10) UNSIGNED NOT NULL
Andrés
16 Apr 2019
1set @autoid :=0; 
2update Table_Name set AutoIncremented_Column = @autoid := (@autoid+1);
3alter table Table_Name Auto_Increment = 1;
4
5@Zenonymous