Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having Trouble With a Query
Message
 
 
To
17/02/2006 16:06:33
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01097119
Message ID:
01097239
Views:
20
>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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform