Does SQL Server automatically discard unnecessary joins? -


if submit query sql server 2005 contains number of left join clauses table joined never referenced, joins still happen or sql server intelligent enough discard them?

obviously wouldn't able discard inner joins [false assumption! see answers] potentially change result, can left joins?

a left join potentially multiply result set if there many matches.

so therefore still evaluated.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -