gebeurtenis
31 mrt, 23 - 2 apr, 23
De grootste SQL-, Fabric- en Power BI-leerevenement. 31 maart – 2 april. Gebruik code FABINSIDER om $ 400 te besparen.
Zorg dat u zich vandaag nog registreertDeze browser wordt niet meer ondersteund.
Upgrade naar Microsoft Edge om te profiteren van de nieuwste functies, beveiligingsupdates en technische ondersteuning.
Applies to:
SQL Server
Removes metadata, such as triggers and entries, in sysmergesubscriptions
and sysmergearticles
after the specified merge push subscription is removed at the Publisher. This stored procedure is run at the Subscriber on the subscription database.
Notitie
For a pull subscription, metadata is removed when sp_dropmergepullsubscription is executed.
Transact-SQL syntax conventions
sp_mergesubscription_cleanup
[ @publisher = ] N'publisher'
, [ @publisher_db = ] N'publisher_db'
, [ @publication = ] N'publication'
[ ; ]
The name of the Publisher. @publisher is sysname, with no default.
The name of the Publisher database. @publisher_db is sysname, with no default.
The name of the publication. @publication is sysname, with no default.
0
(success) or 1
(failure).
sp_mergesubscription_cleanup
is used in merge replication.
Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_mergesubscription_cleanup
.
gebeurtenis
31 mrt, 23 - 2 apr, 23
De grootste SQL-, Fabric- en Power BI-leerevenement. 31 maart – 2 april. Gebruik code FABINSIDER om $ 400 te besparen.
Zorg dat u zich vandaag nog registreert