时间:2021-07-01 10:21:17 帮助过:15人阅读
SELECT b.name AS tablename, a.rowcnt AS datacount FROM sysindexes a, sysobjects b
WHERE a.id = b.id AND a.indid < 2 AND objectproperty(b.id, ‘IsMSShipped‘) = 0 ORDER BY datacount DESC
MSSQL 统计整个数据库所有表数据记录数
标签:nbsp 记录 sms table 表数据 sql 数据 object order