so I have a large number of tables which fall under a certain category. These tables all start with B1T(so B1T00001, B1T0002 etc). I've been tasked with providing some information on this set of tables.
Here is my initial SQL to get a count of how many B1T tables there are.
select obj_nm from od_md_obj
where proj_id = '6' and obj_nm like ('%B1T%')and obj_typ_id = '9';
This returns about 260 tables. I am attempting to get a count of the number of rows for all the tables combined. Either the query can break it the count by table, possibly use a rollup for the total count; or by just doing a single count for everything.
I tried looking at some of the solutions in my search but it requires a bit of tedious code considering the number of tables I am querying.
Any help would be greatly appreciated!!
I am using SQL developer currently.