Applies To: SQL Server 2014, SQL Server 2016 Preview
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Deletes history related to a publication status request, which includes the request history (MSpeer_request (Transact-SQL)) as well as the response history (MSpeer_response (Transact-SQL)).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.
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.