Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

sp_mergesubscription_cleanup

SQL Server 2000

Removes meta data such as triggers and entries in sysmergesubscriptions and sysmergearticles when the specified merge subscription is removed at the Publisher.

Syntax

sp_mergesubscription_cleanup [ @publisher =] 'publisher'
    , [ @publisher_db =] 'publisher_db'
    , [ @publication =] 'publication'

Arguments

[@publisher =] 'publisher'

Is the name of the Publisher. publisher is sysname, with no default.

[@publisher_db =] 'publisher_db'

Is the name of the Publisher database. publisher_db is sysname, with no default.

[@publication =] 'publication'

Is the name of the publication. publication is sysname, with no default.

Return Code Values

0 (success) or 1 (failure)

Remarks

sp_mergesubscription_cleanup is used in merge replication.

Permissions

Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_mergesubscription_cleanup.

See Also

sp_expired_subscription_cleanup

sp_subscription_cleanup

System Stored Procedures

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.