Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×