摘要: 查每一张表的记录数(按记录数排序): SELECT t.NAME AS 表名, SUM(p.rows) AS 记录数 FROM sys.tables t INNER JOIN sys.indexes i ON t.OBJECT_ID = i.object_id INNER JOIN sys.part 阅读全文
posted @ 2024-03-17 15:42 深圳大漠 阅读(1144) 评论(0) 推荐(1) 编辑