Import csv file into multiple tables in Postgres

Поиск
Список
Период
Сортировка
От Deepblues
Тема Import csv file into multiple tables in Postgres
Дата
Msg-id bd6cfb9e05022711151a8e6a88@mail.gmail.com
обсуждение исходный текст
Ответы Re: Import csv file into multiple tables in Postgres  (Andrew Hammond <ahammond@ca.afilias.info>)
Список pgsql-novice
Hi,

   Is it possible to import data from a csv file into multiple tables
in postgresql database.
suppose if I have 2 tables students and departments. And my csv file
contains data for both the tables. Can I import this data into the two
tables.

Is there any perl script available to do this.

Help me out with this !!

thanks,
Deepblues

В списке pgsql-novice по дате отправления:

Предыдущее
От: Wolfgang Keller
Дата:
Сообщение: PL/Pgsql or PL/Python?
Следующее
От: "Mark Quinn"
Дата:
Сообщение: Warning: pg_exec() query failed: ERROR: Attribute "admin" not found