Replication Stored Procedures (Transact-SQL)
Applies To: SQL Server
Replication system stored procedures are documented and available as a method for accomplishing one-time tasks, such as implementing replication, and for using in batch files and scripts.
SQL Server Books Online provides examples of how to program most of the common replication tasks using Transact-SQL stored procedures. For more information, see Replication System Stored Procedures Concepts.