Upravit

Sdílet prostřednictvím


sp_mergedummyupdate (Transact-SQL)

Applies to: SQL Server

Does a dummy update on the given row, so that it sends again during the next merge. This stored procedure can be executed at the Publisher, on the publication database, or at the Subscriber, on the subscription database.

Transact-SQL syntax conventions

Syntax

sp_mergedummyupdate
    [ @source_object = ] N'source_object'
    , [ @rowguid = ] 'rowguid'
[ ; ]

Arguments

[ @source_object = ] N'source_object'

The name of the source object. @source_object is nvarchar(386), with no default.

[ @rowguid = ] 'rowguid'

The row identifier. @rowguid is uniqueidentifier, with no default.

Return code values

0 (success) or 1 (failure).

Remarks

sp_mergedummyupdate is used in merge replication.

sp_mergedummyupdate is useful if you write your own alternative to the Replication Conflict Viewer (wzcnflct.exe).

Permissions

Only members of the db_owner fixed database role can execute sp_mergedummyupdate.