Answers for "reset id auto increment after deleting a table row in phpmyadmin"

PHP
0

reset id auto increment after deleting a table row in phpmyadmin

SET @autoid :=0; 
UPDATE table_name SET id = @autoid:=(@autoid+1);
ALTER TABLE table_name AUTO_INCREMENT=1;
Posted by: Guest on January-27-2021

Code answers related to "reset id auto increment after deleting a table row in phpmyadmin"

Browse Popular Code Answers by Language