select from pipe-delimited field

Поиск
Список
Период
Сортировка
От san man
Тема select from pipe-delimited field
Дата
Msg-id AANLkTi=Y84tAz_MBVF0QwOGwE1QjMweKPoCh8naUPcak@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] select from pipe-delimited field  (David Fetter <david@fetter.org>)
Re: [GENERAL] select from pipe-delimited field  (Arjen Nienhuis <a.g.nienhuis@gmail.com>)
Список pgsql-novice
Hello all,

I am trying to do a SELECT operation with a WHERE condition. However, the column with which I am trying to do the comparison has several values which are pipe-delimited. I want to return a match(true) if the WHERE condition matches any of the bar-delimited values.

For example, SELECT id WHERE synonyms = 'word';

Here synonyms is a pipe-delimited field and I want to match "word" with any of the values of the synonyms fields.

Thanks in advance.

Neel

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: xml output
Следующее
От: David Fetter
Дата:
Сообщение: Re: [GENERAL] select from pipe-delimited field