Wednesday, May 2, 2012

Reasons-JOIN IN TSQL IS SLOW

If your JOIN in TSQL is slow, it probably has something to do with:

1. inappropriate or missing indexes
2. outdated statistics
3. non-SARGable arguments in the WHERE clause
4. incompatible datatypes in the ON clause of the JOIN, forcing the engine to do an implicit conversion, resulting in indexes not being used

1 comment:

  1. Check out the execution plan to found out what's wrong

    ReplyDelete