查寻数据库 数据条数
查询sql数据库所有表数据条数:
select sum(a.datacount)from ( select b.name as tablename ,
a.rowcnt as datacount
from sysindexes a ,
sysobjects b
where a.id = b.id
and a.indid < 2
and objectproperty(b.id, ‘IsMSShipped’) = 0 )as a
查询Mysql 数据库所有表的数据条数:
use inform
原创
2020-05-24 09:18:33 ·
745 阅读 ·
0 评论