sp_subscription_cleanup (Transact-SQL)
SQL Server 2005
Removes metadata when a subscription is dropped at a Subscriber. For a synchronizing transaction subscription, it also includes immediate-updating triggers. This stored procedure is executed at the Subscriber on the subscription database.
Transact-SQL Syntax Conventions
- [ @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 a default of NULL. If NULL, subscriptions using a shared agent publication in the publishing database will be deleted.
- [ @reserved=] 'reserved'
-
For internal use only.
