I have the following that gives me all the tables that with FOO in the table name. Now I want to list each table that has FOO in the table name and the count of records in each of those tables.
I.E.
TableName Count
FOO1 1000
FOO2 50,000
FOO3 100,000
F004 90
I know I can do a select count(*) from FOO1 and so forth, but I would like to list all tables and counts together.
Thanks in advance for you time and help, I greatly appreciate it.
I.E.
TableName Count
FOO1 1000
FOO2 50,000
FOO3 100,000
F004 90
I know I can do a select count(*) from FOO1 and so forth, but I would like to list all tables and counts together.
Thanks in advance for you time and help, I greatly appreciate it.