How to import / read data from a csv file (comma separated) in coldfusion


How to read data from a comma separated file (.csv file) in coldfusion? I have to read the contact information from the csv file and paste it into the database.

Thanks,
Yugal

+4
source share
2 answers

Here is an easy way to read in a CSV file - http://blog.dkferguson.com/index.cfm/2011/9/28/CSV-File-Reading-using-cfhttp

From there, you can simply program the query and insert each row into the database.

+4
source

Source: https://habr.com/ru/post/1385481/


All Articles