SQL SERVER 查看全部数据库用户表的行数
SELECT * FROM(
SELECT T.name,P.rows FROM sys.partitions P
INNER JOIN sys.tables T ON T.object_id=P.object_id
WHERE T.type='U') Tmp
ORDER BY Tmp.rows desc
SELECT T.name,P.rows FROM sys.partitions P
INNER JOIN sys.tables T ON T.object_id=P.object_id
WHERE T.type='U') Tmp
ORDER BY Tmp.rows desc
每天一点点。。。