From: Wim Ceulemans <wim.ceulemans@nice.be>
To: pez@aiming.net
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Partial Search
Date: Wed, 01 Dec 1999 18:03:11 +0100
Message-ID: <384554CF.924BF895@nice.be> (raw)
References: <38452BB4.B7F32589@aiming.net>
pez@aiming.net wrote:
>
> I am trying to do a query with a partial search but don't know the
> syntax. eg. I want the word 'buff' to find 'buffalo' in the variable
> 'city'. Can anyone give me an example?
>
select * from table where city like '%buff%';
or case insensitive:
select * from table where city ~* 'buff';
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: wim.ceulemans@nice.be, pez@aiming.net
Subject: Re: [SQL] Partial Search
In-Reply-To: <384554CF.924BF895@nice.be>
* 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