sql 查询当前数据库所有表格以及所有表格数据条数
时间:2016-11-03 18:45:21
收藏:0
阅读:279
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
原文:http://www.cnblogs.com/chongyao/p/6027500.html
评论(0)