select id,OBJECT_NAME(id) AS tablename, indid,rows,rowcnt from sys.sysindexes a where indid in (0,1) order by rows desc 来源:oschina链接:https://my.oschina.net/u/53041/blog/3136842 标签 sqlserver