Re: Importing a comma-delimited text file

Поиск
Список
Период
Сортировка
От James R. R. Service
Тема Re: Importing a comma-delimited text file
Дата
Msg-id 38F51D89.120EC4DD@yahoo.com
обсуждение исходный текст
Ответ на Importing a comma-delimited text file  (Conrad Lawes <clawes@home.com>)
Список pgsql-general
Conrad Lawes wrote:
>
> What is the command to import data into a table from comma-delimited
> text file?
> Unfortunately, the psql on-line help (\h) does not provide a clear
> explanation.

Try COPY.

The delimiter is "," in your case rather than the default \t.

For details see: http://alibaba.dei.uminho.pt/psql/postgres/sql-copy.htm

--
James (Jim) R.R. Service        jservice at yahoo dot com

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

Предыдущее
От: Webb Sprague
Дата:
Сообщение: Create Database Error
Следующее
От: "James R. R. Service"
Дата:
Сообщение: Re: Search problem