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...

what is difference between decode and case function?

Answer Posted / neha sinha

1)Performance wise Case is good.

2)Case is easy to understand and debug.

3)Case is ANSI stranded and Decode is property of oracle.

4) We can use Decode only in SQL but we can use Case any
where like Function/procedure.

5)Decode can be use only for continuous data not for range
value. but case can be use for range value and it allowed
operator like ">" "between" also.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write pl sql program in mysql command prompt?

1068


How do I install sql?

974


What are the sql commands?

1139


What does the acronym acid stand for in database management?

1022


Define SQL and state the differences between SQL and other conventional programming Languages?

1197


What is sql architecture?

1034


What is restrict in sql?

1093


How do I install microsoft sql?

1029


Can we update views in sql?

925


How do I view an execution plan in sql?

968


Explain what is a column in a table?

1085


Explain foreign key in sql?

1007


Explain how exception handling is done in advance pl/sql?

985


How to prepare for oracle pl sql certification?

1047


What is sqlerrd?

956