Hi André,
Thanks for sharing your idea.
I just want to make sure that you know that this idea is something that is already implemented in SS. In the executed SQL tab you can find the the compiled SQL code that is executed. That information appears after a test query be executed.

Cheers and, please, continue sharing your ideas.