Saltar ao contido principal
Microsoft
Asistencia técnica de Microsoft
    Iniciar sesión
    Asistencia técnica de Microsoft

    FIX: "Incorrect syntax for definition of the 'default' constraint" error when you add an arbitrary columnstore column in SQL Server 2016

    Contido fornecido por Microsoft

    Contido fornecido por Microsoft

    Aplícase a: SQL Server 2016 Enterprise CoreSQL Server 2016 EnterpriseSQL Server 2016 DeveloperSQL Server 2016 Standard Máis


    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.

    About SQL Server 2016 builds
    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.


    Última actualización: 25 mar, 2018
    • Correo electrónico
    • Imprimir
    Grazas. Os teus comentarios axudarannos a mellorar a experiencia de asistencia técnica.
    Galego (galego)
    • Terms of use
    • Privacy & cookies
    • Trademarks
    • © Microsoft 2018
    This site in other countries/regions
    Algérie - Français
    Argentina - Español
    Australia - English
    Belgique - Français
    België - Nederlands
    Bolivia - Español
    Bosna i Hercegovina - Hrvatski
    Brasil - Português
    Canada - English
    Canada - Français
    Chile - Español
    Colombia - Español
    Costa Rica - Español
    Crna Gora - Srpski
    Danmark - Dansk
    Deutschland - Deutsch
    Dominican Republic - Español
    Ecuador - Español
    Eesti - Eesti
    El Salvador - Español
    España - Español
    Estados Unidos - Español
    France - Français
    Guatemala - Español
    Hong Kong SAR - English
    Hrvatska - Hrvatski
    India - English
    Indonesia (Bahasa) - Bahasa
    Ireland - English
    Italia - Italiano
    Latvija - Latviešu
    Lietuva - Lietuvių
    Luxembourg - Français
    Magyarország - Magyar
    Malaysia - English
    Maroc - Français
    México - Español
    Nederland - Nederlands
    New Zealand - English
    Norge - Bokmål
    Panamá - Español
    Paraguay - Español
    Perú - Español
    Philippines - English
    Polska - Polski
    Portugal - Português
    Puerto Rico - Español
    România - Română
    Schweiz - Deutsch
    Singapore - English
    Slovenija - Slovenščina
    Slovensko - Slovenčina
    South Africa - English
    Srbija - Srpski
    Suisse - Français
    Suomi - Suomi
    Sverige - Svenska
    Tunisie - Français
    Türkiye - Türkçe
    United Kingdom - English
    United States - English
    Uruguay - Español
    Venezuela - Español
    Việt Nam - Tiếng việt
    Ísland - Íslenska
    Österreich - Deutsch
    Česká Republika - Čeština
    Ελλάδα - Ελληνικά
    България - Български
    Казахстан - Русский
    Россия - Русский
    Україна - Українська
    ישראל - עברית
    الإمارات العربية المتحدة - العربية
    المملكة العربية السعودية - العربية
    مصر - العربية
    भारत - हिंदी
    ไทย - ไทย
    中国 - 简体中文
    台灣 - 繁體中文
    日本 - 日本語
    香港特別行政區 - 繁體中文
    대한민국 - 한국어