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
Azure SQL Managed Instance
Removes publishing metadata belonging to a specific publication at the Distributor. This stored procedure is executed at the Distributor on the distribution database.
Transact-SQL syntax conventions
sp_removedistpublisherdbreplication
[ @publisher = ] N'publisher'
, [ @publisher_db = ] N'publisher_db'
[ ; ]
The name of the Publisher server. @publisher is sysname, with no default.
The name of the publication database. @publisher_db is sysname, with no default.
0
(success) or 1
(failure).
sp_removedistpublisherdbreplication
is used by transactional and snapshot replication.
sp_removedistpublisherdbreplication
is used when a published database must be recreated without also dropping the distribution database. The following metadata is removed:
Only members of the sysadmin fixed server role at the Distributor or members of the db_owner fixed database role in the distribution database can execute sp_removedistpublisherdbreplication
.
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