(1)Oracle表和记录查询
select t.table_name,t.num_rows from user_tables t ORDER BY t.table_name;
SELECT a.name,b.rows FROM sysobjects a INNER JOIN sysindexes b ON a.id=b.id WHERE b.indid IN(0,1) AND a.Type='u' ORDER BY a.name
(1)Oracle表和记录查询
select t.table_name,t.num_rows from user_tables t ORDER BY t.table_name;
SELECT a.name,b.rows FROM sysobjects a INNER JOIN sysindexes b ON a.id=b.id WHERE b.indid IN(0,1) AND a.Type='u' ORDER BY a.name