Created
March 7, 2024 19:27
-
-
Save ppazos/62abc0abdcbcf21815a2cd683e108710 to your computer and use it in GitHub Desktop.
Count records for each table in MySQL
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 SUM(TABLE_ROWS) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '__YOUR_DB__'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment