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 -> Decode doubt

Decode doubt

From: Prakash <venkatprakash_at_my-deja.com>
Date: Fri, 27 Aug 1999 22:33:37 GMT
Message-ID: <7q73o1$8f6$1@nnrp1.deja.com>


Hi

Could anyone tell me whats is the equvilant of IIF in Oracle? Means:

I want to do this:

IIF (A > 0, 100) Our decode just compares with the ' = ' it doen't do the > or < operations. I could only write decode(a, 0, 100) I want to write decode(a, > 0, 100) or something like this

Can anybody give me a clue on this?

Thanks

V Prakash
venkatprakash_at_hotmail.com

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Fri Aug 27 1999 - 17:33:37 CDT

Original text of this message

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