| |

VerySource

 Forgot password?
 Register
Search
Author: 独行风中

Consult master data synchronization issues

[Copy link]

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-9 19:45:01
| Show all posts
Error details: Only when the list of columns is used and IDENTITY_INSERT is ON, can you specify an explicit value for the identity column in the table'net_http'.
(Source: LVKY (data source); Error code: 8101)

Set the database parameter IDENTITY_INSERT to on, and that's it
Reply

Use magic Report

0

Threads

34

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-8-9 20:00:01
| Show all posts
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.
Reply

Use magic Report

1

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-8-10 23:30:01
| Show all posts
Thank you all for your enthusiastic answers, thanks!!!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list