Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Performance

Author  Topic 

aprichard
Yak Posting Veteran

62 Posts

Posted - 2009-04-28 : 04:47:27
Hi Every one,

Among the given two quries, which provide better performance

SELECT Ename, Sal
FROM Emp e
INNER JOIN Sal s on e.ID=S.ID
WHERE e.code=10


SELECT Ename, Sal
FROM Emp e
INNER JOIN Sal s on e.ID=S.ID and e.code=10

Thanks in Advance

bklr
Master Smack Fu Yak Hacker

1693 Posts

Posted - 2009-04-28 : 04:49:26
check this link lamprey given u description
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=124657
Go to Top of Page
   

- Advertisement -