what is diff between Decode and case ? Give some Example?

Answer Posted / jj@hotmail.com

Decode is similiar to an if statement and is Oracle
specific. The Case statement is more universal. The case
statement is more efficient in that it will exit the logic
when it evaluates true. It is also easier to read.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create universe with no cache??

1950


how to create metric universe ?

1893


hi all of u, i want to learn the course in SAP(BI).because of there is no calls for BO. And the another region is it will be converted into SAP module. is it OK for me? is there any feauture in coming days? could any one plz send me the message

1572


Explain about alerts in bos, under what situation we need to use alerts?

554


How to restrict password to a user while sending a document in .pdf format

1852






Then how to select the source by using webi or deski reports into crystal reports? i think main source is Businessview. where u import the datasource ?

1567


Explain what would you consider as your biggest achievement and why?

571


Explain how can we do load testing for webi reports? (Example if I have have to test one webi report for concurrent users refreshing report at one time)?

539


When to use local filter and when to use global filter?

593


How to open a universe with out using the Designer ??

6599


Tell me a business scenario where I can achieve the data through MINUS only not through subquery.

2597


Explain how to execute the plsql procedure from the report by clicking with mouse?

594


Explain how we drill up week to month?

639


What is the difference between the public object&schema object?

568


Are data mart and dwh normalized or denormalized? Do both of them exist in the same tier?

584