Jak zjistit tabule s kompresí

SELECT
DISTINCT o.name AS TableName
FROM
sys.partitions p
INNER JOIN
sys.objects o ON p.object_id = o.object_id
INNER JOIN
sys.indexes i ON p.object_id = i.object_id AND p.index_id = i.index_id
WHERE
p.data_compression > 0;