时间:2021-07-01 10:21:17 帮助过:59人阅读
MS SQL Server 统计用户表数据量的查询语句
SELECT a.name, b.rows FROM sysobjects a WITH(NOLOCK) JOIN sysindexes b WITH(NOLOCK) ON b.id = a.id WHERE a.xtype = ‘U ‘ AND b.indid IN (0, 1) ORDER By b.rows DESC
MS SQL Server 统计用户表数据量的查询语句
标签: