• Great work, thank you! One suggestion: it doesn't seem to play well in cases when there are complex multi-line expressions used for various properties. Maybe convert CR/LF into spaces, so that it would still work when copy/pasting into Excel.

    Actually I just tried it by making a small tweak to the output and it did the trick:

    ISNULL(REPLACE(REPLACE(ExpressionValue, CHAR(10), ' '), CHAR(13), ' ') ,'') +'"' ExpressionValue

    Could you explain how you manipulate the results to make them readable? Do you just place all the columns as "rows" in pivot table?