[SQL Server 2005] T-SQL for configuring replication

[SQL Server 2005] T-SQL for configuring replication

am 03.07.2007 15:02:40 von Thyagu

Hi,

I want to script replication using T-SQL statements in SQL Server
2005. Could you please let me know if it is possible. If yes, please
provide me the link to the procedure.

Basically, I want to do the following using T-SQL statements.
* create publication
* create subscription
* start the agents (snapshot/distribution)
* stop the agents
* remove subscription
* remove publication

Thanks in advance.
Thyagu.D