Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select - the inner execution sequence
Message
From
02/09/2003 14:06:41
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00825026
Message ID:
00825404
Views:
18
Hi Kamil,

in fact you can control the SQL Query Optimizer very well.

Use
1. order joins with parenthesis
((T1 JOIN T2 ON ... ) LEFT JOIN ... )
2. use query hints : OPTION () clause ( example : OPTION(FORCE ORDER) )
3. use join  hints : () for control join type method
4. use table hints : WITH ( ) for control locks and index used on table
With a strong hints setting you can fixed the query plan.
However, to every SP or new version, the things can change.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform