Created
December 28, 2013 21:08
-
-
Save yurrriq/8164222 to your computer and use it in GitHub Desktop.
I'm tired of forgetting how to reset the counter in MySQL, so I figured I'd make this my first gist. Big up to Google and http://stackoverflow.com/a/8923132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE tablename AUTO_INCREMENT = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment