select schema_name(t.schema_id) as [Schema], t.name as TableName,i.rows as [RowCount] from sys.tables as t, sys.sysindexes as i where t.object_id = i.id and i.indid <=1order by rows desc;文章作者: LeFer文章链接: https://lefer.cn/posts/52305/版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 LeFer!sql server 评论