Ken wrote:
> Hi. I want to enable the user to upload a csv file, then the data
> should be validated against pre-defined criteria for different columns
> in the csv file. Once that is done, I want to write the validated
> rows from the csv file to the DB.

I would change the process a bit. Don't bother validating the 
csv, just use whatever native import utility your database has to 
import the csv into a temp table of the database. Then validate 
the records in the table and insert them into the permanent table.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189924
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to