From: wadii boulila on
I have performed a transactional replication in my company.
However, replication agents are idle. I need a script or a command sql to
start the three agents (snapshot, journal and distribution).
I write a script to create the transactional agent; however, these three
agents are idles and need to be started.
When I right click and I set start it works. However, I need to perform this
automatically with a script transact-sql or a command sql.


Thank you a lot for your help.

url:http://www.ureader.com/gp/1156-1.aspx