Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 250 Bytes

reset_autoincrement.md

File metadata and controls

11 lines (7 loc) · 250 Bytes

Reset autoincrement for a table

ALTER TABLE name AUTO_INCREMENT = 1
  • name - name of a table to reset autoincrement for
  • AUTO_INCREMENT = 1 - sets autoincrement to a new starting value

link_youtube: https://youtu.be/IE76EyzzDrU