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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Wildcards

Re: Wildcards

From: TurkBear <noone_at_nowhere.com>
Date: Tue, 11 Sep 2001 15:25:15 -0500
Message-ID: <jesspts94uq9niihkefs3cr2bhbneq00lf@4ax.com>

No docs where you are?

Oracle uses 2 wildcards
% for any number of letters ( like * in DOS and others) _ for single char

so for yours:
select * from EOFGMultiGroupedNo0s1
where LOC_DESC Like 'S__' ( 2 under bars) if it fails test it by using
 where LOC_DESC Like 'S%' and look at the data returned to see if any are only 3 chars long

scott_at_yahoo.com (Scott) wrote:

>Is there a caracter Oracle regonizes as a character wildcard?
>
>I am looking for results that are only 3 characters long and begin
>with "S". The SQL stmt might looks something like below, but I do not
>konw because this is not returing any results (failing).
>
>select * from EOFGMultiGroupedNo0s1
>where LOC_DESC Like 'S__'

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!  Check out our new Unlimited Server. No Download or Time Limits! -----== Over 80,000 Newsgroups - 19 Different Servers! ==----- Received on Tue Sep 11 2001 - 15:25:15 CDT

Original text of this message

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