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 / shiva kumar

Case functions are of two types
1. SIMPLE CASE(Equivalent to DECODE)
2. SEARCHED CASE

1.SIMPLE CASE is equivalent to DECODE in performance.The
only difference is it is ANSI Standard where as DECODE
function is designed by oracle.

2.SEARCHED CASE is more powerful then DECODE.Using SEARCHED
CASE we can evaluate multiple conditions,range evaluation.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of triggers?

1172


what is the difference between truncate and drop statements? : Sql dba

1126


what is denormalization. : Sql dba

1113


what is uncommittable transactions? : Transact sql

996


How to use distinct and count in sql query? Explain

1024


In what condition is it good to disable a trigger?

1013


what is normalization? : Sql dba

1087


How to avoid using cursors? What to use instead of cursor and in what cases to do so?

1193


What is a .db file?

986


Does truncate table reset auto increment?

994


What is procedure and function in sql?

1001


How do I truncate a word?

1090


Define union, minus, union all, intersect ?

1006


What is java sql package?

1097


What is package in pl sql with an examples?

1035