Case and Decode
How can we covert Case to Decode or Decode to Case?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priya LingeRank #785 · 2.9K reputationPosted Dec 18, 2011, 6:47 PM EST
1.CASE and DECODE are the two widely used constructs in the SQL.
And both have the functionality of an IF-THEN-ELSE statement to return some
specified value meeting some criteria.
Please check below link which will explain the convert case Decode to Case and vice versa.
http://www.club-oracle.com/forums/case-and-decode-two-powerfull-constructs-of-sql-t181/
Hope this will help you.
Thanks.
Akash AhlawatRank #3,915 · 379 reputationPosted Dec 18, 2011, 6:56 PM EST