Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having Trouble With a Query
Message
From
17/02/2006 20:30:12
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01097119
Message ID:
01097254
Views:
16
Hmmm ... you and Fabio disagree on this one. I wonder who's right? =)

~~Bonnie


>>Yes, I know ... but the second example you gave seemed much simpler, so I went with it. <s> I don't know which one would be faster, but I don't have enough data to benchmark it right now.
>
>Hi Bonnie,
>
>I would expect the first one to be faster. The SQL Server is optimized for the first type of query because EXISTS subquery doesn't return any data.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform