Difference between Decode and Case?
Answer Posted / suman vyas
1) Case Can work with logical operator other than '=' . such as < , > , = < , >=
where Decode performs an equality check only.
2) Decode can work as function inside SQL only,
where Case can work in Pl/Sql as a substitute of IF-THEN-ELSE.
3) Decode can not process Null , where Case can process Null.
4) Case expects datatype Consistency, Decode Dose not.
5) Decode is a function, where Case is a statement.
hope this will give u satisfied Answer for Difference Between CASE AND DECODE.
Thanks
Suman Vyas
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain when we use aggregate awareness function in designer?
What would you consider as your biggest achievement and why?
What is the profile and package?
If there are no indices defined on any of the columns in the above two tables, which columns would you index to speed up the left join query?
Explain are data mart and dwh normalized or denormalized? Do both of them exist in the same tier?
what are the tables used in health care domain project and columns used in report?
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)?
Let me know the things we can do in webi and cannot do it in full client and vice verse for bo6.5?
What Is Snow Flake Schema?
Hi I'm using data federator.I would like to know if it allows select statment in where clause.For example: SELECT Employee, company, orgunit FROM TAB_BIG WHERE employee IN (Select TAB_SMALL.employee FROM TAB_SMALL WHERE flag = X ) bye
What is the difference between absolute and relative div positioning?
What are the steps to do to use alerts in bo?
what is the difference between add link and include link in BO? Explain me with a scenario when to go for add link and when to go for include link?
Is there any other repository domains rather than universe, security, document?
Explain what are the steps to be taken to schedule the report?