Re: Copy from text file

Поиск
Список
Период
Сортировка
От Chris
Тема Re: Copy from text file
Дата
Msg-id 449B4713.1080201@gmail.com
обсуждение исходный текст
Ответ на Copy from text file  ("Ricardo Vaz" <jrvaz@tce.sp.gov.br>)
Ответы Re: Copy from text file  (Geoffrey <esoteric@3times25.net>)
Список pgsql-general
Ricardo Vaz wrote:
> Hi,
>
>
> It is possible to copy data from text file (CSV) ignoring some columns
> of this text file?

(How come this was posted 3 times?)

I don't think so but you could load it into a temporary table and then:

insert into new_table select col1, col2 from temp_table;


--
Postgresql & php tutorials
http://www.designmagick.com/

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: join on next row
Следующее
От: Geoffrey
Дата:
Сообщение: Re: Copy from text file