Replication - Should I set the Primary Key to 'No'

  • Hello:

    If I would like to do Transactional Replication - do I set the Primary Key in the Table to

    Identity = 'No'

    Identity = 'Yes' or

    Identity = 'Yes (Not for Replication)'

    Thanks,

    Bianca

  • It depends on how you are creating primary keys.

    If you are using the identity property to generate primary keys, then you should use 'Yes (Not for Replication)'.

    If your application is responsible for generating primary keys, then no is the answer.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply