| From: | san man <neelakash21(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org |
| Subject: | select from pipe-delimited field |
| Date: | 2010-08-23 22:44:09 |
| Message-ID: | AANLkTi=Y84tAz_MBVF0QwOGwE1QjMweKPoCh8naUPcak@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Fetter | 2010-08-23 22:48:15 | Re: select from pipe-delimited field |
| Previous Message | Bruce Momjian | 2010-08-23 22:43:33 | Re: pg_notify but no pg_listen? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Fetter | 2010-08-23 22:48:15 | Re: select from pipe-delimited field |
| Previous Message | Thom Brown | 2010-08-23 12:09:05 | Re: xml output |