|
In this case, the replication agent will not be able to copy the new row to library B, because the column ID is an identification column and cannot provide a value for the identification column, and the replication fails.
At this time, you need to set the NOT FOR REPLICATION option for the identity column. In this way, when the replication agent uses any login to connect to the table T_test on the library B, all the NOT FOR REPLICATION options on the table will be activated and the ID column can be inserted explicitly. |
|