Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
FIX: Trigger May Not Fire if Query Plan Uses CONSTANT SCAN Operator
Article ID: 299857 - View products that this article applies to.
This article was previously published under Q299857
BUG #: 235577 (SHILOH_BUGS)
A trigger may not fire if the query does not modify any rows and the execution plan contains the CONSTANT SCAN operator.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
The following code demonstrates the problem:
The last update query uses a CONSTANT SCAN operator; the SHOWPLAN for this query is as follows:
StmtText ------------------- |--Constant Scan