sp_helpmergearticleconflicts (Transact-SQL)
TOC
Collapse the table of content
Expand the table of content

sp_helpmergearticleconflicts (Transact-SQL)

 

Applies To: SQL Server

Returns the articles in the publication that have conflicts. This stored procedure is executed at the Publisher on the publication database, or at the Subscriber on the merge subscription database.

Topic link icon Transact-SQL Syntax Conventions

  
sp_helpmergearticleconflicts [ [ @publication = ] 'publication' ]  
    [ , [ @publisher = ] 'publisher' ]  
    [ , [ @publisher_db = ] 'publsher_db' ]  

[ @publication=] 'publication'
Is the name of the merge publication.publication is sysname, with a default of %, which returns all articles in the database that have conflicts.

[ @publisher=] 'publisher'
Is the name of the Publisher.publisher is sysname, with a default of NULL.

[ @publisher_db=] 'publisher_db'
Is the name of the publisher database.publisher_db is sysname, with a default of NULL.

Column nameData typeDescription
articlesysnameName of the article.
source_ownersysnameOwner of the source object.
source_objectnvarchar(386)Name of the source object.
conflict_tablenvarchar(258)Name of the table storing the insert or update conflicts.
guidcolnamesysnameName of the RowGuidCol for the source object.
centralized_conflictsintWhether conflict records are stored on the given Publisher.

If the article has only delete conflicts and no conflict_table rows, the name of the conflict_table in the result set is NULL.

0 (success) or 1 (failure)

sp_helpmergearticleconflicts is used in merge replication.

Only members of the sysadmin fixed server role and the db_owner fixed database role can execute sp_helpmergearticleconflicts.

System Stored Procedures (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft