FIX: "The provided statistics stream is corrupt" when you run the "UPDATE STATISTICS" statement against a table in SQL Server 2008 R2 or SQL Server 2012

Microsoft distributes Microsoft SQL Server 2008 R2 and Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included together with the previous SQL Server 2008 R2 or SQL Server 2012 fix release. 

Symptoms

Assume that you run the "UPDATE STATISTICS" statement against a table in Microsoft SQL Server 2008 R2 or SQL Server 2012. If the statistic is created on a very long column that has limited length, and the values in the column are nearly 8,000 characters in length, you may receive the following error message:

Msg 9105, Level 16, State 30, Line 1
The provided statistics stream is corrupt.

Resolution

The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 11 for SQL Server 2008 R2 SP2

Cumulative update 4 for SQL Server 2012 SP1

Cumulative update 7 for SQL Server 2012

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

For more information about the "UPDATE STATISTICS" statement, go to the following MSDN website: For more information the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems
For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 Naming schema for Microsoft SQL Server software update packages
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
คุณสมบัติ

รหัสบทความ: 2829845 - การตรวจสอบครั้งสุดท้าย: 24 ก.พ. 2014 - ฉบับแก้ไข: 1

คำติชม