Incorrect results are returned when you run a query that contains a GROUP BY operation in SQL Server 2016

Symptoms

When you run a query that contains a GROUP BY operation on an empty result set in an instance of Microsoft SQL Server 2016, incorrect results are returned.

Resolution

The fix for this issue is included in the following cumulative update for SQL Server:

About cumulative updates for SQL Server
About 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.
Properties

Article ID: 3189264 - Last Review: Sep 22, 2016 - Revision: 1

Feedback