Symptoms

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.

Resolution

This problem was first fixed in the following 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:

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology Microsoft uses to describe software updates.For more information about this issue, see An Indexed View Bug with Scalar Aggregates.

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.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.