Replace CASE with DECODE
653402Oct 17 2008 — edited Oct 17 2008Guys,
I want to replace CASE statement with DECODE. How ?
case when msg.is_swap = 'Y' and msg.buy_sell = 1 then 'SO'
when msg.is_swap = 'Y' and msg.buy_sell = 0 then 'SI'
else ''
end As TransactionType
How should i implement DECODE function to do the above one ?
Regards
Karthik