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 -> Re: why 's%' use index '%s' doesn't?

Re: why 's%' use index '%s' doesn't?

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: Fri, 27 Jul 2001 08:22:27 +0200
Message-ID: <9jr1df$efp$1@ctb-nnrp1.saix.net>

"Ed Wong" <ewong_at_mail.com> wrote

> When I use like operator, I found that search by 's%' is so much
> different from '%s'. Why is that and how to resolve this?

LIKE ('%s') is similar to:
On DOS/Windows: dir *s
On Unix : ls *s
(list all files ending with the character 's')

LIKE ('s%') is similar to:
On DOS/Windows: dir s*
On Unix : ls s*
(list all files starting with the character 's')

--
Billy
Received on Fri Jul 27 2001 - 01:22:27 CDT

Original text of this message

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