Re: csv improt to table

Поиск
Список
Период
Сортировка
От Jude DaShiell
Тема Re: csv improt to table
Дата
Msg-id alpine.NEB.2.11.1506131851260.14714@panix1.panix.com
обсуждение исходный текст
Ответы Re: csv improt to table  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-novice
I read the documentation and built a command and tried it and got a syntax
error.
Before I ran the command, I changed all single quotes in the csv file to
double quotes.  I copied the command and the generated error onto my
clipboard so what follows is a paste into this message.
Cut here.
copy to health /home/jude/health.csv format csv header force-not-null;
ERROR:  syntax error at or near "to"
LINE 1: copy to health /home/jude/health.csv format csv header force...


I could have left out force-not-null but decided to try it and I am rather
certain that last command parameter is not the reason for this syntax
error.


--



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

Предыдущее
От: Jude DaShiell
Дата:
Сообщение: Re: import csv file into table
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: csv improt to table