Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Ranjit.ileni
Posting Yak Master
183 Posts |
Posted - 2011-07-19 : 03:12:25
|
Hi ,I prepared same query in following 3 ways1) using NOT IN2) using LEFT JOIN WITH NULL 3) using NOT EXISTSthen the Query cost is same i.e., 33%,33%,33%at last Performance wise which method i should use in Real Time.Need Suggestions .Thanks ,--Ranjit |
|
lionofdezert
Aged Yak Warrior
885 Posts |
Posted - 2011-07-19 : 03:15:45
|
http://connectsql.blogspot.com/2011/05/sql-server-which-performs-better-in-or.html |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
|
Ranjit.ileni
Posting Yak Master
183 Posts |
Posted - 2011-07-19 : 06:05:58
|
Nice articles...My choice NOT EXISTS--Ranjit |
|
|
|
|
|