inserting csv into sql server using coldfusion
Hi,
I am trying to upload a CSV file into SQL Server 2005 DB using coldfusion.
But we are facing performance issues while uploading multiple files at a time.
Logic we implemented is below.
1. Parse the CSV into Array
2. loop over Array and do validation. If validation failes throw error dont upload. if validation passed goto 3.
3. loop over Array and insert each and every record.
Here problem is while uploading file Coldfusion consuming 80% of memory and getting timeouts.
Can you please suggest any good solution.
Thanks and Regards,
LVSR Ravichandra