Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between Decode and Case?

Answer Posted / vasu

Decode: using for reporting purpose. and it is implemented
by if stmt.
Ex: select decode(job,'CLERK','executive',job) from emp;

Case : implemented by if & elsif condition. it is using
pl/sql equality conditionality.
Ex : select case job='CLERK' then 'executive' else 'no' end
a from emp;

it is also used for multipul colms & multi conditions.

in above stmt a is reffered alias name.

Is This Answer Correct ?    24 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we configure two instances of CMS pointing to two different CMS system databases?

1966


What is the difference between condition & filter?

1391


How to generate the report from excel sheet?

1112


Migration of Reports from business objects 5.1.5 to samee version in different hardware?

2269


I have 2 doubts regarding the "Input Control" functionality in BI4: 1) Can the Input Controls in BI4 be manipulated? I mean, can we change the IC display as BOLD or change the values from Italics to regular? Or change the colors? 2) How to get hierarchy type control in IC? Let's say my first IC is for Country and second is for State. If I select a particulat country from Ist IC,second one should show me states belonging to selected country. Is that possible? Thanks in advance!!!

2127


what are the day to day activities of BO administrator ?

2969


What are the general problems that are faced while importing the .biar files and what is the solution to overcome it in business objects?

2836


Explain how to schedule the report in b.o?

972


Please send me BO certification details and question papers? this is my mail id: valsreenivas@gmail.com

2363


Explain about a task that really tested your analytical abilities?

1187


what is xcelsius architecture?

4520


What is the difference between business requirement document and use case document.

957


Explain what are the steps to be taken to schedule the report?

1042


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

1950


i want my connection to be dynamic. How can I make it. I mean the username and password should be dynamic. How?

2039