Symptoms
Consider the following scenario:
-
You are using Microsoft SQL Server 2014.
-
You have a table that contains at least one computed column that is not persisted and at least one computed column that is persisted.
-
You apply hotfix KB 3213683.
-
You turn on trace flag 176.
In this scenario, after you run a SELECT statement to get values from the computed column, you receive incorrect results. Additionally, you receive the following warning message:
Metadata stored on disk for computed column *** in table *** did not match the column definition. In order to avoid possible index corruption, please drop and recreate this computed column.
Resolution
This problem is fixed in Cumulative Update 8 for SQL Server 2014 Service Pack 2 (SP2).
Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were in the previous build. Check out the latest cumulative updates for SQL Server 2014.
Workaround
To work around this issue, turn off trace flag 176.
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.