Change SQL tracing a bit