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

How to run pl sql program in mysql?

997


What is the difference between sql and mysql?

1099


Which kind of parameters cannot have a default value in pl sql?

1120


how to start mysql server? : Sql dba

1180


What are views in sql?

955


Explain ttitle and btitle.

1104


Is it mandatory for the primary key to be given a value when a new record is inserted?

1184


Enlist the data types that can be used in pl/sql?

1047


What is sqlcommand?

1006


How long will it take to learn pl sql?

920


What is the use of double ampersand (&&) in sql queries? Give an example

1122


how can you see all indexes defined for a table? : Sql dba

975


Is id a reserved word in sql?

1133


Which data type is a composite type?

973


what is sql in mysql? : Sql dba

1175