pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Selecting rows having substring in a column
Date: Thu, 29 Aug 2019 09:15:14 -0600
Message-ID: <0e231701-466e-2119-d31f-8f66ebe48e89@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.20.1908290747090.2953@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.1908290704290.2953@salmo.appl-ecosys.com>
	<CAMC0u8kE3c53pftDZGYfC7d4mcFcyjJt7MsMEF50Jt9DDJ8XAw@mail.gmail.com>
	<alpine.LNX.2.20.1908290747090.2953@salmo.appl-ecosys.com>


On 8/29/19 8:47 AM, Rich Shepard wrote:
> On Thu, 29 Aug 2019, Gary Cowell wrote:
>
>> Look at the 'LIKE' function
>
> Gary,
>
> Yes, I thought of like but didn't think to look for it in the postgres
> manual.
>
> Thank you very much,
>
> Rich
>
>
I've given up on the "likes" in favour of the ~ (tilde) and ~* (tilde 
asterisk) operator.  Way cool, powerful. Not standard sql though (iirc)





view thread (7+ messages)  latest in thread

Message-ID: <0e231701-466e-2119-d31f-8f66ebe48e89@gmail.com>
Permalink:  ../0e231701-466e-2119-d31f-8f66ebe48e89@gmail.com/
Also on:    postgresql.org/message-id/0e231701-466e-2119-d31f-8f66ebe48e89@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: Selecting rows having substring in a column
  In-Reply-To: <0e231701-466e-2119-d31f-8f66ebe48e89@gmail.com>
  References: <alpine.LNX.2.20.1908290704290.2953@salmo.appl-ecosys.com> <CAMC0u8kE3c53pftDZGYfC7d4mcFcyjJt7MsMEF50Jt9DDJ8XAw@mail.gmail.com> <alpine.LNX.2.20.1908290747090.2953@salmo.appl-ecosys.com> <0e231701-466e-2119-d31f-8f66ebe48e89@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox