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
Content provided by Microsoft
Applies to: Microsoft SQL Server 2008 R2 Service Pack 2Microsoft SQL Server 2008 R2 DeveloperMicrosoft SQL Server 2008 R2 EnterpriseMicrosoft SQL Server 2008 R2 StandardMicrosoft SQL Server 2012 EnterpriseMicrosoft SQL Server 2012 Business IntelligenceMicrosoft SQL Server 2012 DeveloperMicrosoft SQL Server 2012 StandardMicrosoft SQL Server 2012 WebMicrosoft SQL Server 2012 ExpressMicrosoft SQL Server 2012 Enterprise CoreMore
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.
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.
The issue was first fixed in the following cumulative update of 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. Check out the latest cumulative updates for SQL Server: