-> 查询语句


-> 查询语句
2019年11月20日
11:11

  1. 查询数据库中每张表的记录数

select a.name as 表名,max(b.rows) as 记录条数 from sysobjects a,sysindexes b
where a.id=b.id and a.xtype=’u’
group by a.name
order by max(b.rows) desc

已使用 Microsoft OneNote 2016 创建。