Using replication and trigger simultaneously

时间:2018-06-04 16:40:53

标签: sql sql-server database-administration

I have occurred problem using replication and trigger simultaneously in SQL server. My scenario is:

Database1.dbo.Table1 ----Transaction Replicate---> Database2.dbo.Table1. On Database2.dbo.Table1 table I have FOR INSERT trigger, which inserts data on Database2.dbo.Table2 table and -------Transaction Replicate---> to Database1.dbo.Table2.

But Database2.dbo.Table2 -- > Database1.dbo.Table2 replication not working. If I make insert directly to Database2.dbo.Table2 than it replicates.

Can anybody help me?

0 个答案:

没有答案