There's a bug in line 358 of "1.1 Dynamics SQL Data Compression Tool - Data Collection.sql". The line is: DELETE FROM Compression_Analysis WHERE Is_Compressed <> 'NONE' 'NONE' should be replaced to 'NO'