Custom Query outputting my SQL Statement

This is not the same debug option you are referring to: