Good god don't do it in CF - you will kill it. This should all be done inside SQL Server - DTS / SP type thing.
-----Original Message----- From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED] Sent: 13 April 2005 16:42 To: CF-Talk Subject: Best Practices - Large Data Load I have a query that is returning roughly 60,000 records from one database that I need to insert into another database. Right now I'm taking the old query, storing it in a session and then having the system process the inserts 150 or so at a time and then submitting a form to itself. Is there a better/faster way to do this? It's taking a *LONG* time for the process to run. Hatton ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202569 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