| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Between function in Decode statement
DFN wrote:
> "Michel Cadot" <micadot{at}altern{dot}org> wrote in message
> news:3ff2e738$0$28697$626a54ce_at_news.free.fr...
>
>>"DFN" <Iam_at_cyberspace.net> a écrit dans le message de >>news:bsuo2i$1jghm$1_at_ID-157477.news.uni-berlin.de... >> >>>My apologies if this is not the right group for this question. >>> >>>I am trying to use a BETWEEN function in a DECODE statement and I am
>>>a hard time. >>>Does anyone know if it is not allowed? >>>I have successfully used some of the other equality tests such as
>>>than, less than and equal to. >>> >>> >> >>If you have a 9i version, use CASE instead of DECODE. >>If you have a pre-9i version and want to use between with numbers, have a
>>Post your version and your entire issue and we can help you. >> >>Regards >>Michel Cadot
Use CASE not DECODE.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Wed Dec 31 2003 - 10:12:58 CST
![]() |
![]() |