简体   繁体   中英

SQL Server replication question

I had inherited this SQL Server where we put data in a table (Call TableA) on a database (DB-A). I can see the tableA in another database on the same server ( DB-B) gets the same data right away.

Any ideas how this is implemented? I am trying to see the trace but so far no luck. Any one has an idea?

At this stage I am not sure if its replication. This is a guess

Perhaps it is transactional replication? You should be able to go to the replication are and see if there are subscribers or publishers. Either that or you have linked servers, and triggers are copying the data.

它可能是复制,也可能是正在移动数据的源表上的触发器。

This is most likely happening by use of either a synonym or cross-database view. Check to see if the "table" on the other database really is a table. If it IS a table, then they've set up transactional replication between the two databases.

select type_desc from sys.objects where name = 'name_on_database_b' 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM