Home Forums SQL Server 2008 T-SQL (SS2K8) Query Improvement RE: Query Improvement
Igor Micev
SSC-Dedicated
Points: 33109
More actions
May 9, 2013 at 1:20 am
#1613620
Hi,
What does its execution plan say? Are there any missing indexes? How big are the tables? Check the statistics on them.
You can replace the IN with EXISTS and NOT EXISTS.
Regards
IgorMi
Igor Micev,My blog: www.igormicev.com