From: Guy Korland <korland@cs.Technion.AC.IL>
To: pgsql-sql@postgresql.org
Subject: SQL substring
Date: Wed, 12 Nov 2003 16:07:04 +0200
Message-ID: <00ea01c3a926$4049b6d0$4a264484@cs.technion.ac.il> (raw)
In-Reply-To: <00e501c3a923$162d4180$4a264484@cs.technion.ac.il>
Hi,
How can I compare two fields if one is a substring of the other?
Something like:
... WHERE StringA like '%' + StringB + '%';
Thanks,
Guy Korland
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: <00ea01c3a926$4049b6d0$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