Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 2.77 KB

sp-help-peerconflictdetection-transact-sql.md

File metadata and controls

70 lines (49 loc) · 2.77 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
sp_help_peerconflictdetection (Transact-SQL)
Returns information about the conflict detection settings for a publication involved in a peer-to-peer transactional replication.
markingmyname
maghan
randolphwest
05/14/2024
sql
replication
reference
sp_help_peerconflictdetection
sp_help_peerconflictdetection_TSQL
sp_help_peerconflictdetection
TSQL

sp_help_peerconflictdetection (Transact-SQL)

[!INCLUDE SQL Server]

Returns information about the conflict detection settings for a publication that is involved in a peer-to-peer transactional replication topology.

:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions

Syntax

sp_help_peerconflictdetection
    [ @publication = ] N'publication'
    [ , [ @timeout = ] timeout ]
[ ; ]

Arguments

[ @publication = ] N'publication'

The name of the publication for which to return information. @publication is sysname, with no default.

[ @timeout = ] timeout

Specifies the amount of time, in seconds, after which the procedure times out while waiting for response from every node in the topology. @timeout is int, with a default of 60. If there's a read-only Subscriber in the topology, specifying a time-out value isn't valid. Read-only Subscribers never respond to a call from this procedure.

Result set

sp_help_peerconflictdetection returns three result sets. These results are documented in the following articles:

Return code values

0 (success) or 1 (failure).

Remarks

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

Permissions

Requires membership in the sysadmin fixed server role, or db_owner fixed database role.

Related content