sql 计算表总行数

SELECT * FROM sysindexes
WHERE id = OBJECT_ID('dbo.applications') AND indid < 2
原文地址:https://www.cnblogs.com/amylis_chen/p/1613483.html