--SQL Server 查询表的记录数
--one: 使用系统表.
SELECT object_name (i.id) TableName,
rows as RowCnt
FROM sysindexes i
INNER JOIN sysObjects o
ON (o.id = i.id AND o.xType = 'U ')
WHERE indid < 2
ORDER BY rows desc
————————————————
版权声明:本文为CSDN博主「woxingwoshu_1111」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/woxingwoshu_1111/article/details/129319497