sql with no return data doesnt explode