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 the diffrence between IN and EXISTS.which one is
faster.

Answer Posted / manoranjan sethy

Exist operator always faster then In operator.
because assume that we gave value like in(10) then what is does? it will search my entire table and wherever 10 is found it will return as output.
but in exist operator if 10 found then optimizer will stop the searching process that is how exist gives more performance.

ii) In operator all ways conduct pattern search process but exist conduction boolean state of search process.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we call stored procedure in function?

952


When is a declare statement required?

1134


What is the difference between rollback and rollback to statements?

1057


what is a database transaction? : Sql dba

1164


how to drop an existing view in mysql? : Sql dba

1050


What are the benefits of triggers?

1164


What are the benefits of pl/sql packages?

1103


What are transaction and its controls?

1033


What does pl sql stand for?

1105


What are hotfixes and patches?

941


what is oracle database ? : Sql dba

1015


Does user triggers have entry for trigger with compilation errors?

1024


What is sql*loader and what is it used for?

1134


What are the ddl commands?

1003


how can we optimize or increase the speed of a mysql select query? : Sql dba

934