select a.name as ‘表名‘,b.rows as ‘表数据行数‘
from sysobjects a inner join sysindexes b
on a.id = b.id
where a.type = ‘u‘
and b.indid in (0,1)
--and a.name not like ‘t%‘
order by b.rows desc
原文地址:https://www.cnblogs.com/renzhituteng/p/10955666.html
时间: 2024-10-13 07:37:34