Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: DECODE
Brian Peasland wrote:
<snip>
> If you are using Oracle 9i, then you most likely want to implement the
> CASE function instead of DECODE. If you are pre-9i, then you will most
> likely want to code this as a stored function and reference the function
> in your SELECT statement.
>
> HTH,
> Brian
>
I thought that the CASE statement did not work in pl/sql in 8i. Perhaps
I have that backwards? I know is works in plain sql.
Received on Thu Apr 01 2004 - 16:51:55 CST