how do I load a CSV file into a database table ???
Posted in 1999
Topics: General Discussion
how do I load a CSV file into a database table ???
Anthony Farrell wrote: > how do I load a CSV file into a database table ??? It depends on what you've got available to help you. With Perl, there are CSV modules which would allow you to convert the data from CSV to delimited format, for example. Alternatively, you could try SQLCMD from the IIUG archives. It requires ESQL/C or CSDK, and I've not tested the CSV functionality recently, but it tries to handle CSV for you. It probably doesn't look kindly on inserting quoted values into numeric data fields, for example. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN #include <disclaimer.h>