Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSmerge_tombstone (Transact-SQL)
Collapse the table of content
Expand the table of content

MSmerge_tombstone (Transact-SQL)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

The MSmerge_tombstone table contains information on deleted rows and allows deletes to be propagated to other Subscribers. This table is stored in the publication and subscription databases.

Column name

Data type

Description

rowguid

uniqueidentifier

The row identifier.

tablenick

int

The nickname of the table.

type

tinyint

The type of delete:

1 = User delete.

5 = Row no longer belongs to the filtered partition.

6 = System delete.

lineage

varbinary(249)

Indicates the version of the record that was deleted, and which updates were known when it was deleted. Allows rules for consistent resolution of a conflict when one Subscriber updates a row while it is being deleted at another Subscriber.

generation

int

Is assigned when a row is deleted. If a Subscriber requests generation N, only tombstones with generation >= N are sent.

logical_record_parent_rowguid

uniqueidentifier

Identifies the logical record to which a deleted row belongs.

logical_record_lineage

Varbinary(501)

The subscriber nickname, version number pairs that are used to maintain a history of deletes for the logical record to which this row belongs.

Community Additions

ADD
Show:
© 2015 Microsoft