| From: | "Brandon Aiken" <BAiken(at)winemantech(dot)com> |
|---|---|
| To: | <emilu(at)encs(dot)concordia(dot)ca> |
| Cc: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Load a csv file into a pgsql table |
| Date: | 2006-09-19 18:27:40 |
| Message-ID: | F8E84F0F56445B4CB39E019EF67DACBA2F227E@exchsrvr.winemantech.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Scott Marlowe | 2006-09-19 18:47:24 | Re: Load a csv file into a pgsql table |
| Previous Message | Steve Atkins | 2006-09-19 18:26:42 | Re: Load a csv file into a pgsql table |