Created
March 5, 2013 20:41
-
-
Save HomenSimpsor/5094070 to your computer and use it in GitHub Desktop.
Get table autoincrement value
This file contains hidden or 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
SELECT TABLE_ROWS | |
FROM information_schema.tables | |
WHERE table_name='table' | |
AND table_schema = DATABASE(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment