Re: [SQL] select a part of a name

Поиск
Список
Период
Сортировка
От Vladimir Terziev
Тема Re: [SQL] select a part of a name
Дата
Msg-id Pine.BSI.4.20.9912081039110.19978-100000@school.digsys.bg
обсуждение исходный текст
Ответ на select a part of a name  (Fred Schoonewille <schoonewille@coh.fgg.eur.nl>)
Ответы Re: [SQL] select a part of a name  (<kaiq@realtyideas.com>)
Список pgsql-sql
       You must write:
       select * from TEST where name ~ '&name';
       This will match all names containing &name

    Vladimir



On Wed, 8 Dec 1999, Fred Schoonewille wrote:

> 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
> -------------------------------------------------------
> 
> 
> 
> 
> 
> ************
> 
> 



В списке pgsql-sql по дате отправления:

Предыдущее
От: Vladimir Terziev
Дата:
Сообщение: Re: [SQL] Getting last used oid
Следующее
От: Justin Long
Дата:
Сообщение: RE: [SQL] select a part of a name