1 useAdventureWorks2 select id,object_name(id) as tableName,indid,rows,rowcnt3 from sys.sysindexes where indid in(0,1)