Re: How to use like with a list

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to use like with a list
Date: 2011-11-18 20:18:41
Message-ID: CABvLTWEHtbcH+fhf_-Xi8wxgCE+rvS+jZMdUKgeJRfP2Ym7EYw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 18, 2011 at 12:13 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:

> where field ~ '^(jo|mo|do|fo)'

Don't forget to add the l as the end:

where field ~ '^(jo|mo|do|fo)l'
--
Regards,
Richard Broersma Jr.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2011-11-18 20:23:10 Re: How to use like with a list
Previous Message John R Pierce 2011-11-18 20:13:33 Re: How to use like with a list