sql task formatting