Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: case expression to decode function
or just subtract 1 and then use sign.
"db dude" <db_guy_2002_at_yahoo.com> wrote in message
news:f4a8da28.0304111758.1d29ecf9_at_posting.google.com...
> SELECT CASE WHEN a > 1 THEN 'boo' WHEN a < 1 then 'hoo' ELSE 'foo' END
> from X;
>
> Oracle 8 does not support case expressions. Can some one give me an
> oracle 8 select query that does the same thing as the select query
> above.
>
> Thanks
Received on Fri Apr 11 2003 - 22:07:06 CDT