[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: quicky postgreSQL question

On Wed, Nov 25, 1998 at 02:47:53PM -0500, Shaleh wrote:
> How can I read in a comma delimited file and have the contents added to a SQL
> table?  I seem to recall there being a program that did this for postgres.

I've always done that kind of thing using Perl.  You can use the postgres
libraries, or you can just convert the file into SQL insert statements
and run it from psql.  Heck, you could even use sed.  I don't know of
an easier way.



Reply to: