Skip to content

Instantly share code, notes, and snippets.

@citlacom
Created June 27, 2018 18:24
Show Gist options
  • Save citlacom/5dbb37a8b28579b4370aa6d562e35b7a to your computer and use it in GitHub Desktop.
Save citlacom/5dbb37a8b28579b4370aa6d562e35b7a to your computer and use it in GitHub Desktop.
Count table records from all DB tables
SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'iul_d8' order by table_name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment