copy command and column attribute

Поиск
Список
Период
Сортировка
От toni hernández
Тема copy command and column attribute
Дата
Msg-id 49D0D9BF.20407@sigte.udg.edu
обсуждение исходный текст
Ответы Re: copy command and column attribute  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-admin
hi all,

I've been trying to import some data from a csv file to my database.
I have some fields of the table that I want to keep so I typed

copy mytable (column
Affidabilita_stratigrafica,Ambiente,Anno,Componenti_geologici) FROM
E'c://export_us_sg4.csv' with delimiter ',' csv quote as '"';

This way I expect some fields to remain with the default value, but an
error appears near "column"

Am I typing it wrong?


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

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: Partitionin with check functions
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: copy command and column attribute