all groups > sql server replication > november 2006 >
You're in the

sql server replication

group:

Detecting if a merge agent is currently in process.


Detecting if a merge agent is currently in process. Troy Wolbrink
11/29/2006 2:52:43 PM
sql server replication:
How can you determine if a merge agent (pull subscription) is currently in
process?

Re: Detecting if a merge agent is currently in process. Paul Ibison
11/29/2006 9:56:32 PM
Troy,
sp_help_job will do it on an ad-hoc basis, but if you need to do something
as a result of the job status, you could modify this script to do it:
http://www.replicationanswers.com/Downloads/KillRunningJobs.txt
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

AddThis Social Bookmark Button