BUG: FORCEPLAN Does Not Control Join Order in UPDATE Statement

ID: Q132083


The information in this article applies to:
  • Microsoft SQL Server versions 4.21a, 6.0, 6.5


SYMPTOMS

The join order is not controllable in UPDATE statements, even though SET FORCEPLAN is ON. The optimizer does not permit the override on the join sequence.


WORKAROUND

Proper index design and query design aids the optimizer in choosing the desired join sequence. Updating statistics on the tables involved in the join also results in the proper join order for performance considerations.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: update Windows NT

Keywords : kbprg SSrvWinNT
Version : winnt:4.21a,6.0,6.5
Platform : winnt
Issue type :


Last Reviewed: December 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.