Is there an undocumented way to reinitialize a replication subscription via transact-sql in SQL Server 2000, or do you have to use Enterprise Manager or SQL-DMO as mentioned in SQL Server Books Online?
Is there an undocumented way to reinitialize a replication subscription via transact-sql in SQL Server 2000, or do you have to use Enterprise Manager or SQL-DMO as mentioned in SQL Server Books Online?
There is this system stored procedure
sp_reinitsubscription
, which marks the subscription for reinitialization. Here is the Transact-SQL Reference for SQL Server 2000.Syntax:
Only members of the sysadmin fixed server role, members of the db_owner fixed database role, or the creator of the subscription can execute it.