Re: Load a csv file into a pgsql table

Поиск
Список
Период
Сортировка
От Brandon Aiken
Тема Re: Load a csv file into a pgsql table
Дата
Msg-id F8E84F0F56445B4CB39E019EF67DACBA2F227E@exchsrvr.winemantech.com
обсуждение исходный текст
Ответ на Load a csv file into a pgsql table  (Emi Lu <emilu@encs.concordia.ca>)
Ответы Re: Load a csv file into a pgsql table  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список 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 по дате отправления:

Предыдущее
От: Emi Lu
Дата:
Сообщение: Load a csv file into a pgsql table
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: Load a csv file into a pgsql table