Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Foreign keys problems during distrib.exe

$
0
0

SQL 2012 SP1 (I'll upgrade in few days, I know -__-)

I have set up a transactional replica through 2 big db on different servers. I set it up to not be continuous.

Executing DISTRIB.EXE correctly delivers commands, on demand.

I scheduled it to run every 5 minutes. It has worked pretty well for 2 days until I noticed an error related to a FK. It seemed that commands were trying to delete a row from a table referenced from another table, I suspect not yet deleted for that ID.

Isn't replica process able to understand to delete first-leaf table the last ?

Do I have to setup precedence on table execution commands ?

Thanks for help.


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>