From: mig@utdt.edu
To: oomoomi@hotmail.com
Cc: twallingford@indexc.com
Cc: pgsql-sql@postgresql.org
Subject: Re: pattern matching operator
Date: Tue, 16 May 2000 12:54:52 -0300
Message-ID: <200005161554.MAA20944@ant.utdt> (raw)
In-Reply-To: <20000516152829.47374.qmail@hotmail.com>
References: <20000516152829.47374.qmail@hotmail.com>
You can also do it in plain SQL, no regexp:
select field,field from table where field like '%string%';
>X-Originating-IP: [195.200.226.110]
>From: "omid omoomi" <oomoomi@hotmail.com>
>Date: Tue, 16 May 2000 08:28:29 PDT
>Content-Type: text/plain; format=flowed
>X-Mailing-List: pgsql-sql@postgresql.org
>Precedence: bulk
>Sender: pgsql-sql-owner@hub.org
>
>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@indexc.com>
>>To: pgsql-sql@postgresql.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
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: mig@utdt.edu, oomoomi@hotmail.com, twallingford@indexc.com
Subject: Re: pattern matching operator
In-Reply-To: <200005161554.MAA20944@ant.utdt>
References: <20000516152829.47374.qmail@hotmail.com> <200005161554.MAA20944@ant.utdt>
* 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