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: I can't believe I can't use IIF anymore!?!

Re: I can't believe I can't use IIF anymore!?!

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 23 Feb 2000 23:07:47 +0100
Message-ID: <951344064.14091.0.pluto.d4ee154e@news.demon.nl>


Ah, typical Microsoft behavior, not reading the manual. Iif in Access, Sql server is decode in Oracle. Syntax
decode (expression, outcome1, result1, outcome2, result2, defaultresult)

Hth,

Sybrand Bakker, Oracle DBA

Patrick Joyal <please.reply_at_to.the.newsgroup> wrote in message news:38b44fee_at_news...
> you know, like :
>
> select IIF (Score >400, 'Congratulations!', 'Loser!') as Message ;
>
> to my surprise, it doesn't work in Oracle
>
>
>
Received on Wed Feb 23 2000 - 16:07:47 CST

Original text of this message

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