Difference between Decode and Case?

Answer Posted / gurujothi

*CASE can only be used inside the SQL statement where as CASE can be used anywhere even as a parameter of a function or procedure.
*Decode can do equality check only but Case can do more logic comparisons such as <,>etc.,
*The Case will handle NULL differently

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps to do to use alerts in bo?

634


please explain me with the real time tables on how aggregate tables are created and how aggregate awareness is addressed to it.

1537


Explain in detail about type 2(scd),

598


how get the grand total in master-detail report?

1819


What is the difference between user and versatile user?

585






Explain is there any default username & pwd for bo designer & supervisor?

599


How can you first report in Business Objects by using broadcast agent?

2599


Explain what sort of existing documents should business analysts refer to when starting on a new project?

607


What is difference between custom hierarchy and report based hierarchy?

552


Explain is data mart?

597


how many reports have u created ? explain a few.

1667


Is there any other repository domains rather than universe, security, document?

601


Explain which versions are used in the bo dashboard work?

635


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

591


If I have three predefined prompts. In a report it will come randomly. How they will come in a specified format?

696