Alan, Thanks for nice comments about the UDF and I am glad that it worked for you. I have been using it at my work since some of our dataset are huge and it was taking forever for clients to download a CSV file.
Qasim Rasheed On 8/25/05, Alan Rother <[EMAIL PROTECTED]> wrote: > We had the same problem. We found that anything over 50000 was crashing our > server using the old school cfloop over a variable. > Check out cflib.org <http://cflib.org> and search for this > QueryToCSV2 > It uses JAVA and the toString method. It reduced our export time by about > 2000% and now I have succesfully exported recordsets as large as 500000 > records. > Qasim Rasheed is the guy who wrote it, it rules and he is the man. > =] > > > On 8/25/05, gabriel l smallman <[EMAIL PROTECTED]> wrote: > > > > Have an app. That needs to turn a query of about 150,000 records into a > > text > > file, zip it, send back to user. > > > > Using cf to loop and build the text file just wont work, it takes forever > > and often crashes. > > > > Someone mentioned a way todo it with php, by invoking a function that > > converts the record set in ram to a text file and then zips and send back. > > But we are stuck doing it on box with mx 6.0. > > > > Looked at having sql generate the file, but trying to avoid mapping drives > > to move it around. > > > > Anyone got an clever ideas? > > > > gabe > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216418 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

