SELECT a.name , b.[rows]FROM dbo.sysobjects AS a LEFT JOIN sysindexes AS b ON a.id = b.idWHERE a.[type] = \'U\' AND b.indid IN(0,1) AND [rows]!=0 还有更好的方法 exec sp_spaceused \'UserRecordDetails\' ! 我被虐爆了 ,愤怒中! 相关文章: 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2021-12-07 2022-12-23 2022-03-03 2022-12-23