Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for more optimization
Message
From
12/02/2009 20:39:34
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01381114
Message ID:
01381479
Views:
28
>You should examine the query plan. If you see table scans on large tables it's most definately bad. If you see it estimating more rows than you think should be output by a step then you may need to HINT the SQL to get it to use a better index for a JOIN or a WHERE. And that assumes you have an index that can be used to optimize the piece.

I will check for that next time. For now, the recommended approach by Sergey, by using the EXISTS, also mentioned in Naomi's message from the explanation on the issue, seems to have resolved the issue.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform