Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: I can't believe I can't use IIF anymore!?!
Patrick Joyal wrote:
>
> you know, like :
>
> select IIF (Score >400, 'Congratulations!', 'Loser!') as Message ;
>
> to my surprise, it doesn't work in Oracle
That is because we have a more powerful alternative called decode() Received on Thu Feb 24 2000 - 07:44:15 CST
![]() |
![]() |