• John Mitchell-245523 (1/20/2015)


    The allow updates option doesn't have any effect any more (from SQL Server 2005). You could use a trigger instead of a constraint in order to return the error message you want, but this is inefficient and I would only use it as a last resort.

    John

    You are right. It is impossible now.

    As most of SQL experts would say:

    Never ever ever, change system tables.

    ...apart of - you can add new user defined messages to sys.messages using sp_addmessage...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]