So, one of our directors has a series of queries they usually run on a Sunday as part of our EOP reporting. I have (rather foolishly) offered to automate it for them.
I've gone ahead & set up a job with steps for each report, and configured them to output to a csv file on the network in the advanced tab for each step. The idea being they can just open that up, chop it up with text-to-columns, and crack on with their work at their own convenience.
The problem I have is the file sizes on the files output from here are ridiculous. One of them is outputting at about 1.1GB, but if I run it manually in SSMS & choose save results as, it's coming out around 14MB.
Any idea why that's happening?
As an aside, is there any way to get rid of the top row (Job 'bla bla bla' : Step 1, 'bla bla bla' : Began Executing...) in the output file?