Re: Load a csv file into a pgsql table - Mailing list pgsql-general

From Brandon Aiken
Subject Re: Load a csv file into a pgsql table
Date
Msg-id F8E84F0F56445B4CB39E019EF67DACBA2F227E@exchsrvr.winemantech.com
Whole thread Raw
In response to Load a csv file into a pgsql table  (Emi Lu <emilu@encs.concordia.ca>)
Responses Re: Load a csv file into a pgsql table  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-general
Define 'quick'.

You could write a script that would transform a .csv file into an INSERT
statement and save it to an .sql file.

Or I suppose you could do silly ODBC stuff with MS Access.

--
Brandon Aiken
CS/IT Systems Engineer

-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Emi Lu
Sent: Tuesday, September 19, 2006 2:15 PM
To: PgSQL General
Subject: [GENERAL] Load a csv file into a pgsql table

Greetings,


*Except* copy command, are there other quick ways to load data from a
csv file into a pgsql table please?


Thanks a lot!




---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

pgsql-general by date:

Previous
From: Emi Lu
Date:
Subject: Load a csv file into a pgsql table
Next
From: Steve Atkins
Date:
Subject: Re: Load a csv file into a pgsql table