FIX: Changes to Filtered Indexed View Can Cause Unexpected Results

Article translations Article translations
Article ID: 306467 - View products that this article applies to.
This article was previously published under Q306467
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 355069 (SHILOH_BUGS)
Expand all | Collapse all

SYMPTOMS

If an indexed view is created and the view schema filters the results with a WHERE clause, future data modifications may cause unexpected results.

RESOLUTION

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:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

Hotfix

NOTE: The following hotfix was created prior to SQL Server 2000 Service Pack 2.

The English version of this fix should have the following file attributes or later:
   Version      Platform
   ---------------------
   s80436i.exe  x86
				
NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.

IMPORTANT: This fix will only prevent future occurrences of unexpected results due to data modifications; in addition to applying the fix, all indexes based on views with filter conditions need to be re-created.

WORKAROUND

Do not perform filtering in the schema for a view that will be indexed.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 2000 Service Pack 1.

This problem was first corrected in SQL Server 2000 Service Pack 2.

Properties

Article ID: 306467 - Last Review: October 24, 2013 - Revision: 2.1
APPLIES TO
  • Microsoft SQL Server 2000 Service Pack 1
  • Microsoft SQL Server 2000 Service Pack 1
  • Microsoft SQL Server 2000 Service Pack 1
Keywords: 
kbnosurvey kbarchive kbproductlink kbbug kbfix kbqfe KB306467

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com