Is there a query to identify which tables are compressed?
Isn't the following query limited to just the partitioned tables that are compressed?
SELECT DISTINCT NAME
FROM sysobjects x
WHERE x.id IN (SELECT OBJECT_ID
FROM sys.partitions
WHERE data_compression <> 0)