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

Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

1003


Why do we use joins in sql?

973


What is memory optimized table?

1049


What are the operators used in select statements?

1058


Can we create view in stored procedure?

978


What is the difference between microsoft access and sql?

1029


What is java sql drivermanager?

1102


what is a constraint? : Sql dba

1175


Inline the values in PL/SQL, what does it mean.?

1231


Do foreign keys improve performance?

1027


How does one load ebcdic data? : aql loader

1178


How many types of triggers are there in pl sql?

1069


What is rtm stands for?

1101


Can dml statements be used in pl/sql?

1082


What is raid? How does it help storage of databases?

1087