Re: What's the best way in postgres to use ANY() with LIKE '%'?

From: Ryan Murphy <ryanfmurphy(at)gmail(dot)com>
To: Hellmuth Vargas <hivs77(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: What's the best way in postgres to use ANY() with LIKE '%'?
Date: 2017-09-05 14:19:22
Message-ID: CAHeEsBcFvvXqHasxTPfW6AXU-yKK=9mnfn_zoikwskQLEF=r7A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks, I saw that page earlier; what I'm looking for is kind of the
opposite - instead of comparing a single value to see if it matches any of
a list of patterns, I'm trying to take a list of values and see if any of
them match a given pattern.

Best,
Ryan

On Tue, Sep 5, 2017 at 8:01 AM Hellmuth Vargas <hivs77(at)gmail(dot)com> wrote:

> Hi
>
> can see:
>
>
> https://stackoverflow.com/questions/4928054/postgresql-wildcard-like-for-any-of-a-list-of-words
>
> 2017-09-04 22:42 GMT-05:00 Ryan Murphy <ryanfmurphy(at)gmail(dot)com>:
>
>> > I'm pretty sure it doesn't work syntactically. Don't recall the
>> details offhand.
>>
>> Ok, thanks!
>>
>
>
>
> --
> Cordialmente,
>
> Ing. Hellmuth I. Vargas S.
> Esp. Telemática y Negocios por Internet
> Oracle Database 10g Administrator Certified Associate
> EnterpriseDB Certified PostgreSQL 9.3 Associate
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2017-09-05 14:41:01 Re: What's the best way in postgres to use ANY() with LIKE '%'?
Previous Message Hellmuth Vargas 2017-09-05 13:01:45 Re: What's the best way in postgres to use ANY() with LIKE '%'?