Microsoft KB Archive/308436

= FIX: ANSI Outer Join is Changed into an Inner Join in INSTEAD OF Trigger =

Article ID: 308436

Article Last Modified on 10/16/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q308436



BUG #: 353688 (SHILOH_BUGS)



SYMPTOMS
If an INSTEAD OF trigger contains a query that uses an ANSI outer join on the inserted and deleted tables, the outer join is implicitly turned into an inner join and produces incorrect results.



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack



WORKAROUND
To work around this behavior, use these old, nonstandard outer join operators in the WHERE clause of the query:

*=

-and-

=*



STATUS
Microsoft has confirmed that this is a problem in Microsoft SQL Server 2000. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 2.

Keywords: kbbug kbfix kbsqlserv2000presp2fix KB308436

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.