sql server查询数据库中所有表的行数 select a.name,b.rows from sysobjects a,sysindexes b where a.name = b.name order by b.rows desc