Re: select exact term

From: Douglas J Hunley <doug(dot)hunley(at)gmail(dot)com>
To: Marc Fromm <Marc(dot)Fromm(at)wwu(dot)edu>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: select exact term
Date: 2013-03-28 17:59:28
Message-ID: CALxYTP4UD6Mimt4XbJUOHk5BnGsYwo38C+xSNZf8uY_Kyy1eiQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Mar 28, 2013 at 1:51 PM, Marc Fromm <Marc(dot)Fromm(at)wwu(dot)edu> wrote:

> Is there a way to create a select statement that will select a record if
> the exact term is found in a field that contains the text to describe
> something?****
>
> ** **
>
> If I create a select statement using WHERE description LIKE ‘art’ I get
> every record that has words like depart, start and so on.****
>
> If I create a select statement using WHERE description = ‘art’ I get no
> results even though the word art is in some records description field.****
>
> ** **
>
> Thanks****
>
> ** **
>
> Marc****
>

http://www.postgresql.org/docs/9.2/static/functions-matching.html

--
Douglas J Hunley (doug(dot)hunley(at)gmail(dot)com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Craig James 2013-03-28 18:05:16 Re: select exact term
Previous Message Marc Fromm 2013-03-28 17:51:39 select exact term