Ócáid
Mar 31, 11 PM - Apr 2, 11 PM
An ócáid foghlama SQL, Fabric and Power BI is mó. Márta 31 – 2 Aibreán. Bain úsáid as cód FABINSIDER chun $ 400 a shábháil.
Cláraigh inniuNí thacaítear leis an mbrabhsálaí seo a thuilleadh.
Uasghrádú go Microsoft Edge chun leas a bhaint as na gnéithe is déanaí, nuashonruithe slándála, agus tacaíocht theicniúil.
Applies to:
SQL Server
Deletes history related to a publication status request, which includes the request history (MSpeer_request) as well as the response history (MSpeer_response). This stored procedure is executed on the publication database at a Publisher participating in a Peer-to-Peer replication topology. For more information, see Peer-to-Peer - Transactional Replication.
Transact-SQL syntax conventions
sp_deletepeerrequesthistory
[ @publication = ] N'publication'
[ , [ @request_id = ] request_id ]
[ , [ @cutoff_date = ] cutoff_date ]
[ ; ]
Name of the publication for which the status request was made. @publication is sysname, with no default.
Specifies an individual status request so that all responses to this request will be deleted. @request_id is int, with a default of NULL
.
Specifies a cutoff date, before which all earlier response records are deleted. @cutoff_date is datetime, with a default of NULL
.
0
(success) or 1
(failure).
sp_deletepeerrequesthistory
is used in a Peer-to-Peer transactional replication topology. For more information, see Peer-to-Peer - Transactional Replication.
When executing sp_deletepeerrequesthistory
, either @request_id or @cutoff_date must be specified.
Only members of the sysadmin fixed server role or db_owner fixed database role can execute sp_deletepeerrequesthistory
.
Ócáid
Mar 31, 11 PM - Apr 2, 11 PM
An ócáid foghlama SQL, Fabric and Power BI is mó. Márta 31 – 2 Aibreán. Bain úsáid as cód FABINSIDER chun $ 400 a shábháil.
Cláraigh inniu