Applies ToSQL Server 2016 Enterprise Core - duplicate (do not use) SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Developer - duplicate (do not use) SQL Server 2016 Standard - duplicate (do not use)

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?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.