Re: pattern matching operator

From: "omid omoomi" <oomoomi(at)hotmail(dot)com>
To: twallingford(at)indexc(dot)com, pgsql-sql(at)postgresql(dot)org
Subject: Re: pattern matching operator
Date: 2000-05-16 08:28:29
Message-ID: 20000516152829.47374.qmail@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,
May be you need some thing like this:

Select field1, field2 from table where field1~*'string' ;

Hope that helps,
Omid Omoomi

>From: "Wallingford, Ted" <twallingford(at)indexc(dot)com>
>To: pgsql-sql(at)postgresql(dot)org
>Subject: [SQL] pattern matching operator
>Date: Tue, 16 May 2000 09:45:55 -0400
>
>I need some help (the postgresql.org documentation pages are down??)
>
>I need to know what the pattern-matching operator is for string values in a
>select query...
>
>select field,field from table where field ?????? 'string';
>
>I want to wildcard both ends of the string..
>
>Thanks!
>
>Ted Wallingford

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Johann Spies 2000-05-16 08:51:03 Re: sanity check fails
Previous Message Erol Oz 2000-05-16 06:57:41 Re: is multiple insert possible with posgress?