pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guy Korland <korland@cs.Technion.AC.IL>
To: pgsql-sql@postgresql.org
Subject: SQL substring
Date: Wed, 12 Nov 2003 15:44:25 +0200
Message-ID: <00e501c3a923$162d4180$4a264484@cs.technion.ac.il> (raw)

Hi,
How can I compare two fields if one is a substring of the other?
Something like: 
	... WHERE StringA like '%' + StringB + '%';

Thanks,
Guy Korland




view thread (4+ messages)  latest in thread

Message-ID: <00e501c3a923$162d4180$4a264484@cs.technion.ac.il>
Permalink:  ../00e501c3a923$162d4180$4a264484@cs.technion.ac.il/
Also on:    postgresql.org/message-id/00e501c3a923$162d4180$4a264484@cs.technion.ac.il

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: korland@cs.Technion.AC.IL
  Subject: Re: SQL substring
  In-Reply-To: <00e501c3a923$162d4180$4a264484@cs.technion.ac.il>

* 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