SQLSERVER 数据库查看各表的记录数
摘要: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.nameorder by max(b.rows) desc 2.总记录数 ...
阅读全文
posted @ 2018-06-13 00:44
posted @ 2018-06-13 00:44
posted @ 2018-06-13 00:38
博客园 © 2004-2025
浙公网安备 33010602011771号
浙ICP备2021040463号-3