MySQL: Resetowanie AUTO_INCREMENT

DELETE FROM tableName;
ALTER TABLE tableName AUTO_INCREMENT=0;

Leave a Reply

Your email address will not be published. Required fields are marked *