Thank this author by sharing:
select intCol from Tablename where intCol in (@intList)
How to select count(*) where count < 4
Bizarre issue with certain conditions in where statement cause the select to hang forever
OPENROWSET select statement performance -- runs in 4 seconds on test server vs. 3 minutes on product...
Select how the Where Clause operates
As a member of SQLServerCentral, you get free access to loads of fresh content: thousands
of articles and SQL scripts, a library of free eBooks, a weekly database news roundup,
a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals
that makes it such a success.