Joins
Hi Experts,
Can anyone tell me the difference between these two queries. How SQL server handles such queries and the perfomance issues.
Select *
From Table1
Inner Join Table2
On Table1.Key = Table2.Key
And Table2.Key2 = Somevalue
Where Table1.Key2 = someothervalue
And
Select *
From Table1
Inner Join Table2
On Table1.Key = Table2.Key
Where Table1.Key2 = someothervalue
And Table2.Key2 = Somevalue
Regards
Ganesh
__________________
Regards
Ganesh
http://ganeshprof.blogspot.com
Find your solution here...
|