I'm trying to identify which tables are affected by a data update though an application (developed by others). There are more than 200 tables in the DB and I'd like to avoid checking each of them for changes.
Is there any other way where I can list all table names along with their row count?
select table_name from information_schema.tables
List out all the tables in my DB buy how do I include number of rows as well?
See this:
to get all tables in a database:
to get all columns in a database:
to get all views in a db:
Posted for completeness.
If you are looking for row count of all tables in all databases (which was what I was looking for) then I found this combination of this and this to work. No idea whether it is optimal or not: