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

Home -> Community -> Usenet -> c.d.o.tools -> Re: search for 's string in database

Re: search for 's string in database

From: Scott Mattes <smattes_at_erols.com>
Date: Thu, 26 Oct 2000 18:26:21 -0400
Message-ID: <8taas3$spr$1@bob.news.rcn.net>

select *
from tablename
where somefield like '%''s';

or

select *
from tablename
where somefield = 'Paul''s';

"pk" <paul.kavanagh_at_exceptis.com> wrote in message news:8t8uvq$at$1_at_kermit.esat.net...
> Hi,
> I'd be grateful if anyone can help me write a sql to search
> for the following in a database ..... 's
>
> eg
> 'the cardholder's amount'
>
> I want the sql to reaturn where this appears in the database
> Can this be done through sql or does it have to be a pl/sql block ?
>
> thanks in advance for your help
>
>
Received on Thu Oct 26 2000 - 17:26:21 CDT

Original text of this message

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