sp_helppeerresponses (Transact-SQL)


Applies To: SQL Server

Returns all responses to a specific status request received from a participant in a peer-to-peer replication topology, where the request was initiated by executing sp_helppeerrequests at any published database in the topology. 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.

Topic link icon Transact-SQL Syntax Conventions

sp_helppeerresponses [ @request_id = ] request_id  

[ @request_id= ] request_id
Is the ID of a specific status request. request_id is int, with no default.

Column nameData typeDescription
request_idintID of the status request.
peersysnameThe name of the peer that generated the response.
peer_dbsysnameThe database name at the peer that generated the response.
received_datedatetimeDate and time that the requestor received the response from the peer that sent it.

0 (success) or 1 (failure)

sp_helppeerresponses is used in peer-to-peer transactional replication.

sp_helppeerresponses procedure is used when restoring a database published in a peer-to-peer topology.

Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_helppeerresponses.

sp_deletepeerrequesthistory (Transact-SQL)
sp_helppeerrequests (Transact-SQL)

Community Additions