1
0
mirror of https://github.com/alex-bochkov/ssms-addin.git synced 2025-11-29 22:08:12 +02:00

Update partitions-stats.sql

This commit is contained in:
Alexey Bochkov
2018-12-11 21:54:10 -08:00
committed by GitHub
parent bf05aaa685
commit 9b19f19599

View File

@@ -38,6 +38,7 @@ LEFT JOIN sys.partition_range_values AS prv_right
AND prv_right.boundary_id = p.partition_number
WHERE
OBJECTPROPERTY(p.object_id, 'ISMSShipped') = 0
AND p.index_id = 1 /* only show clustered index */
UNION ALL
--non-partitioned table/indexes
SELECT