下面是一些常规的运维手段。
SELECT a.name,
a.object_id,
b.rows,
b.index_id
FROM sys.tables AS a
INNER JOIN sys.partitions AS b
ON a.object_id = b.object_id
WHERE b.index_id IN ( 0, 1 );
后续列举的所有的更新都放在这里,运维相关的。持续更新....
原文:https://www.cnblogs.com/aoximin/p/12578551.html