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
Check out the execution plan to found out what's wrong
ReplyDelete