Incorrect results are returned in an indexed view after an Insert or Delete operation on the base table occurs in SQL Server 2014

You have an indexed view that uses a scalar SUM clause in Microsoft SQL Server 2014 or SQL Server 2012. After you perform an Insert or Delete operation on the view base table, the view returns incorrect results.
This problem was first fixed in the following cumulative updates for SQL Server:
About cumulative updates for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. See the latest cumulative updates for SQL Server:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Learn about the terminology Microsoft uses to describe software updates.

For more information about this issue, see An Indexed View Bug with Scalar Aggregates.

Third-party information disclaimer

Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

Article ID: 3067896 - Last Review: 07/20/2015 22:24:00 - Revision: 2.0

Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard, Microsoft SQL Server 2012 Service Pack 2

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB3067896