Referring to a previous question, i was wondering if its always possible to replace DECODE by CASE and which one is better for performance?
CASE is a statement and DECODE is a function We can use the CASE in the where clause and can not use the DECODE in the where clause. DECODE can check equality operators only where as CASE can support all relational operators DECODE can be used in sql only where as CASE can be used in SQL AND PL/SQL CASE is better than DECODE.
You can find more: http://www.oraclegeneration.com/2014/01/sql-query-interview-questions.html