October 10, 2012 at 9:28 am
I have an SQL Server Agent job running every day at 9am to run a query and using the Advanced tab in the specific step to run the query I send the output of the query to a CSV file. However, when checking the CSV file, only half of the results of the query display.
I'm using SQL server 2008 r2 and I save it to a CSV file on the network and then open it with Excel 2007 on my Windows 7 professional PC.
When I run the query itself outside of the job and save the results to a CSV file, the whole results show.
Any help greatly appreciated.
October 10, 2012 at 11:18 am
This thread looks promising as a solution....
October 10, 2012 at 2:02 pm
Thanks, I'll give it a go tomorrow.
October 11, 2012 at 2:30 am
Chrissy321 (10/10/2012)
http://msdn.microsoft.com/en-us/library/ms186238.aspx%5B/quote%5D
Sadly, this didn't work for me.
October 11, 2012 at 8:22 am
Have to specified any size limit to the output file??
October 11, 2012 at 8:27 am
I don't really understand the question. Do I have to specify a limit? No. I did try the set textsize option but this did not change the output for me.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply