From: Fred Schoonewille <schoonewille@coh.fgg.eur.nl>
To: pgsql-sql@hub.org <pgsql-sql@hub.org>
Subject: select a part of a name
Date: Wed, 08 Dec 1999 09:12:32 +0100
Message-ID: <384E12F0.E5F2F858@coh.fgg.eur.nl> (raw)
Hi,
I am trying to select a part of a name from the columm NAME,
e.g. sql asks the user for input like: jone
sql should give all names which begin with or containing 'jone'
-jones
-Tom-Jones
Working with:
select * from TEST
where NAME= '&name'
finds only exact matches
Can I use e.g. % ?
--
-----------------------------------
Fred Schoonewille
Applicatiebeheer
Computer Ondersteuning Hoboken
-----------------------------------
http://www.eur.nl/fgg/coh
-------------------------------------------------------
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-sql@postgresql.org
Cc: schoonewille@coh.fgg.eur.nl, pgsql-sql@hub.org
Subject: Re: select a part of a name
In-Reply-To: <384E12F0.E5F2F858@coh.fgg.eur.nl>
References: <384E12F0.E5F2F858@coh.fgg.eur.nl>
* 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