BUG: FORCEPLAN Does Not Control Join Order in UPDATE Statement

ID: Q132083

The information in this article applies to: BUG# NT: 8455 (4.21a)

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           : 4.21a 6.0 6.5
Platform          : WINDOWS

Last Reviewed: April 9, 1997