select a.name AS name,b.rows AS rows  INTO #Temp1
from db_tank(数据库名称).dbo.sysobjects a LEFT JOIN  db_tank(数据库名称).dbo.sysindexes b
ON( a.id=b.id ) WHERE  a.type='u'  ORDER BY b.rows DESC

SELECT name,max(rows) FROM #Temp1 GROUP BY NAME ORDER BY max(rows) DESC

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2021-10-13
猜你喜欢
  • 2021-07-02
  • 2021-07-12
  • 2022-12-23
  • 2021-12-09
  • 2021-05-30
  • 2021-05-09
  • 2022-12-23
相关资源
相似解决方案