August 10, 2008 at 8:35 pm
I am generating .CSV file with just one column in it from a table. Here the issue is, I have to restrict .CSV file generated to 1GB. Once .CSV file generated is greater than 1GB, then I need to transform remaining data into different file name. Is this possible to do or is anyone tried to do this? Any help in this direction is greatly appreciated. Thanks in advance.
August 10, 2008 at 9:47 pm
Sure it is... you could do a running total of the length of each row +2 (for Cr/Lf) and key your export off that. See the URL below...
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:09 pm
Thanks. I am relatively new here. Is ther a way is anyone send codes to do that or information secific to my problem? Thanks
August 10, 2008 at 10:23 pm
Ummmm.... can't you at least give it a try on your own?
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply