stop replication in cmd prompt

is it possible to stop replication in cmd prompt for MSSQL2005 Thanks in advance!


Answer this question

stop replication in cmd prompt

  • PJFINTRAX

    You can use the sqlcmd.exe to start and stop various replication agents using the following system stored procedures:

    sp_start|stoppublication_snapshot (at publisher)

    sp_start|stop[merge]pushsubscription_agent (at publisher)

    sp_start|stop[merge]pullsubscription_agent (at subscriber)

    Or, if replication is the only thing running on SQLServerAgent, you can simply stop SQLServerAgent instead.

    -Raymond


  • stop replication in cmd prompt