Summary

When you try to add a column to a columnstore index that uses a non-runtime-constant in a default constant in SQL Server 2016, you receive an error message that resembles the following:

Incorrect syntax for definition of the 'default' constraint.
Msg 142, Level 1, State 14
Msg 1750, Level 16, State 0, LineNumber
Could not create constraint or index. See previous errors.

More information

The fix for this issue is included in Cumulative Update 2 for SQL Server 2016 Service Pack 1.

Each new build for SQL Server 2016 contains all the hotfixes and all the security fixes that were included with the previous build. We recommend that you install the latest build for SQL Server 2016.

References

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!

×