Skip to Content

Is there a way to turn off the Domain Divergence warning for migrated PK fields?


SQL server 2012 physical model and I use identity PK fields that have with a domain called Id with the Identity checkbox selected.

Let's say I have a table, Table1, PKF1 its PK field with the domain Id and a second table, Table2. When I add an one-to-many FK from Table1 to Table2, PKF1 is migrated to Table2. When I generate the script I get Domain Divergence warnings because the identity property is dropped (which makes sense).

Is there a way to turn this specific warning off (because it is really noise)?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 16, 2018 at 09:15 AM

    You can turn off individual model checks each time you generate a script. I believe you can also disable a model check using a script, but you'd need to check the metamodel objects help.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.