Re: Problems importing csv files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems importing csv files
Дата
Msg-id 29667.1245701405@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problems importing csv files  (Kindra Martinenko <kindramart@yahoo.com>)
Список pgsql-novice
Kindra Martinenko <kindramart@yahoo.com> writes:
> I created a table that mimics the csv table I want to read from.  I set privleges to "All" and have been attempting
toexecute the following procedure: 

> COPY BaxterCommercial WITH OIDS FROM 'H:\...\BaxterCommercial.csv'
> USING DELIMITERS ',';

You need to double the backslashes, or perhaps replace them with forward
slashes.  Read about string literal syntax here:
http://www.postgresql.org/docs/8.3/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS

            regards, tom lane

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

Предыдущее
От: Kindra Martinenko
Дата:
Сообщение: Problems importing csv files
Следующее
От: Robert Schnabel
Дата:
Сообщение: Re: Problems importing csv files