Stop SQL query printing