Symptoms
Consider the following scenario:
-
You have Microsoft SQL Server 2014 installed on a computer.
-
You create incremental statistics on your table.
-
You merge partitions of your table multiple times to reduce the number of the partitions by at least 2.
-
You update the incremental statistics manually or update enough data to trigger the automatic statistics update by compiling a query.
In this scenario, an access violation occurs. Additionally, you receive the following error:
A severe error occurred on the current command. The results, if any, should be discarded.
Resolution
The issue was first fixed in the following cumulative update of SQL Server.
Cumulative Update 1 for SQL Server 2014 /en-us/help/2931693
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out 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.