Re: Copy Data Question

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Copy Data Question
Дата
Msg-id 20060623215435.73479.qmail@web31803.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Copy Data Question  (<operationsengineer1@yahoo.com>)
Ответы Re: Copy Data Question - SOLVED  (<operationsengineer1@yahoo.com>)
Список pgsql-novice
> >   CSV QUOTE AS 'quote'
> >   FORCE NOT NULL column1, column2, column3, column4,
> > column5, column6
> >
> > > ;
>
> the delimiter is the tab, which is the default.  i
> don't think i need to include it.  i don't what i'd
> put in place of 'delimiter' to represent tab, anyhow.
>
> i'm not getting CSV QUOTE.  should by statement look
> like:
>
> CSV QUOTE AS '''

You can open the file in a text editor just to verify how it is stored as a CSV.

If the data does not use quotes in the text.file then just drop this argument.

Also, if your text file does have quotes, it might help to remove quotes numeric data being pushed
to integer datatypes in the temp table.

Regards,

Richard Broersma Jr.

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

Предыдущее
От:
Дата:
Сообщение: Re: Copy Data Question
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: Copy Data Question