Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: like '%'

Re: like '%'

From: Eric Lansu <eric.lansu_at_quicknet.nl>
Date: Thu, 25 May 2000 13:46:19 +0200
Message-Id: <10508.106646@fatcity.com>


Choose some other char that doesn't appear in this field (like # or ~) and

select field from table
where replace (field,'%','#') like '%#%' /

Dirty trick, but it works!

Eric Lansu

> Hi group
>
> how do i despeciali. % char in like operator?.
>
> prod_name
> =--------
> prod 100%
>
> i want to select all product which contains % as a pattern.
>
> TIA
>
> **************************************
> H.Karthikeyan
> Tata Infotech Ltd.,
> System Integration Division,
> 80 Feet Road, Indira Nagar, Bangalore.
> Ph: (80) 528 4681 (off) Ext: 423
> E-mail: h.karthikeyan_at_tatainfotech.com
> **************************************
>
> --
> Author: H. KARTHIKEYAN
> INET: h.karthikeyan_at_tatainfotech.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Received on Thu May 25 2000 - 06:46:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US