From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tk421 <vrobador@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Pattern Matchig
Date: Tue, 8 Apr 2008 13:24:09 -0400
Message-ID: <20080408172409.GJ9062@alvh.no-ip.org> (raw)
In-Reply-To: <47FBA7F0.3000300@gmail.com>
References: <47FBA7F0.3000300@gmail.com>
Tk421 escribió:
> The result is only record number 3. How can i search the entire
> FOOBAR word? The result wanted must be all, excepting 5.
Something like this:
select code from table where text ~ '[[:<:]]foobar[[:>:]]'
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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: alvherre@commandprompt.com, vrobador@gmail.com
Subject: Re: Pattern Matchig
In-Reply-To: <20080408172409.GJ9062@alvh.no-ip.org>
* 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