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

how to use sp_startmergepushsubscription_agent?

$
0
0

I was looking for a way to start my on-demand merge sync  and found a reference to this system stored procedure. Only issue is I can not find much (virtually none) documentation or examples on how to use it.

So on my replication SQL instance (db-k\mirror) I have a publication called: [GLOBAL]:[Global merge publisher v032514]

which uses a remote distributor on server db-k\vps_stage to replicate (bidirectional) to servers db-j and db-k\production

so on db-k\mirror I'm trying to execute the following but I get the error "

Msg 20026, Level 16, State 1, Procedure sp_MSmergepushsubscriptionagentjobcontrol, Line 63

The publication '[GLOBAL]:[Global merge publisher v032514]' does not exist."

use GLOBAL
EXEC sp_startmergepushsubscription_agent
 @publication = N'[GLOBAL]:[Global merge publisher v032514]',
 @subscriber = N'[db-k\VPS_STAGE].[GLOBAL]',
 @subscriber_db = N'GLOBAL'

I've also tried this using just '[Global merge publisher v032514' with the same results. Obviously I'bve got the parameters wrong but I'm at a lost as to what this procedure wants.

Any help would be appreciated.


Developer Frog Haven Enterprises


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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