获取表的记录行数SELECT t.name,p.rows FROM sys.indexes AS i
获取表的记录行数
INNER JOIN sys.tables AS t ON i.object_id = t.object_id
获取表的记录行数
join sys.partitions p with(nolock) on i.object_id = p.object_id AND i.index_id = p.index_id
获取表的记录行数
WHERE i.type_desc = 'CLUSTERED'
获取表的记录行数
ORDER BY p.rows

相关文章:

  • 2022-02-01
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2022-12-23
  • 2021-11-04
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2021-10-07
  • 2021-08-05
  • 2022-12-23
  • 2022-01-22
  • 2022-01-27
  • 2022-02-24
相关资源
相似解决方案