I have tables in a merge-replicated database that don't show any entries in sysdepends
(both at the publisher and subscriber and event on my empty testing development database). This means that the merge agent has to re-try a lot of operations as foreign keys don't exist when it tries to process the row.
Even if I add a foreign key to or from the tables, no new rows are added to sysdepends
.
Is there any way to force sysdepends to update for a table? I know you can use sp_refreshsqlmodule
to force code to refresh, but that won't work in this case.
I'm running SQL Server 2008 R2 Express. A coworker with SQL 2012 is showing the same thing on some of her databases.