Parser function / command ?

Поиск
Список
Период
Сортировка
От AarniRuuhimäki / Megative Tmi / KYMI.com
Тема Parser function / command ?
Дата
Msg-id 20020628095902.KPOQ5242.fep08.tmt.tele.fi@there
обсуждение исходный текст
Список pgsql-novice
Hi Folks !

Is there a way to parse, within pgsql, a .csv file coming from MS-SQL so that
it could be read into a table with COPY ?

The file has too many line breaks like and #-character marking the actual
line break:

prod_id;prod_name;EAN;xxx;xxx;xxx;

 - prod description
 - prod description#
prod_id;prod_name;EAN; ...#

How could this be parsed to look like this:

prod_id;prod_name;EAN;xxx;xxx;xxx; - prod description - prod description#
prod_id;prod_name;EAN; ...#

Any hints and advice much appreciated.

BR,

aarni







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

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: DISTINCT and COUNT help
Следующее
От: Ludwig Lim
Дата:
Сообщение: Re: DISTINCT and COUNT help