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 an alternate Publisher from a merge publication. This stored procedure is executed at the Subscriber on the subscription database.
Transact-SQL syntax conventions
sp_dropmergealternatepublisher
[ @publisher = ] N'publisher'
, [ @publisher_db = ] N'publisher_db'
, [ @publication = ] N'publication'
, [ @alternate_publisher = ] N'alternate_publisher'
, [ @alternate_publisher_db = ] N'alternate_publisher_db'
, [ @alternate_publication = ] N'alternate_publication'
[ ; ]
The name of the current Publisher. @publisher is sysname, with no default.
The name of the current publication database. @publisher_db is sysname, with no default.
The name of the current publication. @publication is sysname, with no default.
The name of the alternate Publisher to drop as the alternate synchronization partner. @alternate_publisher is sysname, with no default.
The name of the publication database to drop as the alternate synchronization partner publication database. @alternate_publisher_db is sysname, with no default.
The name of the publication to drop as the alternate synchronization partner publication. @alternate_publication is sysname, with no default.
0
(success) or 1
(failure).
sp_dropmergealternatepublisher
is used in merge replication.
Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_dropmergelternatepublisher
.
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