sp_deletemergeconflictrow (języka Transact-SQL)

Usuwa wiersze z tabela konfliktów lub MSmerge_conflicts_info (Transact-SQL) tabela.Ta procedura składowana jest wykonywany na komputerze, na którym przechowywane w tabela konfliktów w dowolnej bazy danych.

Ikona łącza do tematuKonwencje składni Transact-SQL

Składnia

sp_deletemergeconflictrow [ [ @conflict_table = ] 'conflict_table' ]
    [ , [ @source_object = ] 'source_object' ]
    { , [ @rowguid = ] 'rowguid'
        , [ @origin_datasource = ] 'origin_datasource' ] }
    [ , [ @drop_table_if_empty = ] 'drop_table_if_empty' ]

Argumenty

  • [ @ conflict_table = 'conflict_table"
    Is the name of the conflict table.conflict_table is sysname, with a default of %.Jeśli conflict_table jest określony jako NULL lub %, konflikt zakłada, że konflikt usuwania i dopasowywania wierszy rowguid i origin_datasource i source_object jest usuwany z MSmerge_conflicts_info (Transact-SQL) tabela.

  • [ @ source_object = 'source_object"
    Is the name of the source table.source_object is nvarchar(386), with a default of NULL.

  • [ @ rowguid = 'rowguid"
    Is the row identifier for the delete conflict.rowguid is uniqueidentifier, with no default.

  • [ @ origin_datasource = 'origin_datasource"
    Is the origin of the conflict.origin_datasource is varchar(255), with no default.

  • [ @ drop_table_if_empty = 'drop_table_if_empty"
    Is a flag indicating that the conflict_table is to be dropped if is empty.drop_table_if_empty is varchar(10), with a default of FALSE.

Wartości kodów powrotnych

0 (sukces) lub 1 (błąd)

Uwagi

sp_deletemergeconflictrow używane w replikacja scalająca.

MSmerge_conflicts_info (Transact-SQL) Tabela jest tabela systemowa i nie jest usuwany z bazy danych, nawet jeśli jest pusty.

Uprawnienia

Tylko członkowie sysadmin stała rola serwera lub db_owner ustaloną rola bazy danych można wykonać sp_deletemergeconflictrow.