--当前用户的表
select t.table_name,t.num_rows from USR_tables t
where t.table_name like 'INFO%'
--所有自定义用户表
select t.table_name,t.num_rows from all_tables t
where t.table_name like 'INFO%'
--整个库的表
se……
[/Quote]老兵新手说的对,我在考虑得到表名的结果集后,是否得用游标进行处理,然后用select count(*) from table的方式得到每张表的记录数。
--当前用户的表
select t.table_name,t.num_rows from USR_tables t
where t.table_name like 'INFO%'
--所有自定义用户表
select t.table_name,t.num_rows from all_tables t
where t.table_name like 'INFO%'
--整个库的表
select t.table_name,t.num_rows from DBA_tables t
where t.table_name like 'INFO%'