Re: Pattern Matchig

From: Tk421 <vrobador(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Pattern Matchig
Date: 2008-04-08 17:39:38
Message-ID: 47FBADDA.8040709@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alvaro Herrera escribi&oacute;:
<blockquote cite="mid:20080408172409(dot)GJ9062(at)alvh(dot)no-ip(dot)org" type="cite">
<pre wrap="">Tk421 escribi&oacute;:

</pre>
<blockquote type="cite">
<pre wrap=""> The result is only record number 3. How can i search the entire
FOOBAR word? The result wanted must be all, excepting 5.
</pre>
</blockquote>
<pre wrap=""><!---->
Something like this:

select code from table where text ~ '[[:&lt;:]]foobar[[:&gt;:]]'

</pre>
</blockquote>
Thank you very much, it worked!<br>
<br>
Gracias, &Aacute;lvaro<br>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 769 bytes

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message novice 2008-04-09 01:51:35 count question
Previous Message Alvaro Herrera 2008-04-08 17:24:09 Re: Pattern Matchig