DECODE Function
653402Aug 4 2008 — edited Aug 4 2008Hi Guys,
I am a newbie to this forum as well as to ORACLE database. As i need to travel very long distance, i have decided to take your peoples help along with me. I hope i can get it from this forum. Well, coming to my requirement,
DECODE Is similar to IF-THEN-ELSE. Am i right ? But i am unable to understand the following code.
select decode (nvl (count (invst), 0), 0, 'n', 'y')
what it actually doing ?
Inputs are welcome !