“PhpMyAdmin Reset Auto_increment” Kod odpowiedzi

PHP MyAdmin Resetuj Auto Incremente

ALTER TABLE table_name AUTO_INCREMENT=0
Glamorous Goldfinch

PhpMyAdmin Reset Auto_increment

In phpMyAdmin, select the table you want to change the options from.
Then click on the "Operations" button at the top of the website
There, change your "AUTO_INCREMENT" value to something greater than
the highest value of your table and press the "OK" button.
Breyn

Zresetuj identyfikator automatycznego przyrostu po usunięciu wiersza tabeli w phpMyAdmin

SET @autoid :=0; 
UPDATE table_name SET id = @autoid:=(@autoid+1);
ALTER TABLE table_name AUTO_INCREMENT=1;
Unsightly Unicorn

Odpowiedzi podobne do “PhpMyAdmin Reset Auto_increment”

Pytania podobne do “PhpMyAdmin Reset Auto_increment”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu