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

Home -> Community -> Usenet -> c.d.o.server -> Retrieving data when embedded single quote in data?

Retrieving data when embedded single quote in data?

From: Mark R. Aughenbaugh <marka_at_erudite.com>
Date: 1997/12/04
Message-ID: <34873129.0@news3.uswest.net>#1/1

Is it possible to retrieve rows where there is a single quote (') as part of the data without the use of a function since the function would eliminate the use of an index?

Ex. select name from tab1 where name like 'Al's %'

This example, of course, won't work. Nor will escaping the quote.

select name from tab1 where name like 'Al@'s %' escape '@'

Any help would be appreciated.
marka_at_erudite.com Received on Thu Dec 04 1997 - 00:00:00 CST

Original text of this message

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