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 |
ElCapitan
Starting Member
28 Posts |
Posted - 2009-02-02 : 09:40:22
|
Hi all,Is there a limit to the number of conditions you can add to a WHERE clause?With too many WHERE clauses, do the indexes get ignored resulting in full table scans?Is using WHERE tbl.id IN (1,22,31,52.....501) efficient, i.e. good practice?Thanks for your time. |
|
dinakar
Master Smack Fu Yak Hacker
2507 Posts |
Posted - 2009-02-02 : 10:14:57
|
Theres no hard limit as such but you want to keep performance in mind..Dinakar Nethi************************Life is short. Enjoy it.************************http://weblogs.sqlteam.com/dinakar/ |
|
|
|
|
|