Assume that you have a database in Microsoft SQL Server 2016. The database has at least one table that contains a clustered columnstore index and a memory optimized index. When you run sp_updatestats in the table, you may receive an error message that resembles the following:

Msg 35337, Level 16, State 1, Line LineNumber 

UPDATE STATISTICS failed because statistics cannot be updated on a columnstore index. UPDATE STATISTICS is valid only when used with the STATS_STREAM option

Note The error message should not be present in the "Resolution" section after you have applied the update.


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


This issue is fixed in the following cumulative update for SQL Server:

About 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. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!