select a.name as 表名,max(b.rows) as 记录条数 from sysobjects a ,sysindexes b
where a.id=b.id and a.xtype='u'
group by a.name
where a.id=b.id and a.xtype='u'
group by a.name
order by max(b.rows) desc
本文转自程序猿博客51CTO博客,原文链接http://blog.51cto.com/haihuiwei/1630094如需转载请自行联系原作者
365850153