COPY from

Поиск
Список
Период
Сортировка
От Mike
Тема COPY from
Дата
Msg-id 8ca422821002101546u3e5c7c86vd63ead9f01d52fdb@mail.gmail.com
обсуждение исходный текст
Ответы Re: COPY from  (Thom Brown <thombrown@gmail.com>)
Список pgsql-novice
Using Postgresql ver. 8.3.7

I made a database called "receivables."
I made a table called "invoice."
The second column in table "invoice" is called "matter_num" and has a
data type of "numeric(5,0)".
When I try to copy data from .csv file to table "invoice" I receive
the following error message:

ERROR:  missing data for column "matter_num"

But there are numbers (4 digits in length) throughout the whole column
of the .csv file.

I tried removing all the (") delimiters, but copy failed with the same
error message.

What am I missing?
Thank you for your help.

Mike

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

Предыдущее
От: Lee
Дата:
Сообщение: Question about commit
Следующее
От: Thom Brown
Дата:
Сообщение: Re: COPY from