MSmerge_contents (Transact-SQL)
Collapse the table of content
Expand the table of content

MSmerge_contents (Transact-SQL)


Applies To: SQL Server

The MSmerge_contents table contains one row for each row modified in the current database since it was published. This table is used by the merge process to determine the rows that have changed. This table is stored in the publication and subscription databases.

Column nameData typeDescription
tablenickintThe nickname of the published table.
rowguiduniqueidentifierThe row identifier for the given row.
generationbigintThe generation of the row identified by the tablenick and rowguid.
partchangegenbigintThe generation associated with the last data change that could have changed whether the row belongs in a filtered publication.
lineagevarbinary(501)The subscriber nickname, version number pairs that are used to maintain a history of changes to this row.
colvlvarbinary(7489)The column version information.
markeruniqueidentifierIdentified for informational purposes only. Not supported. Future compatibility is not guaranteed.
logical_record_parent_rowguiduniqueidentifierIdentifies the top-level parent row in MSmerge_contents (by rowguid) for each corresponding child row in a logical record.
logical_record_lineagevarbinary(501)Subscriber nickname, version number pairs that are used to maintain a history of changes to the top-level parent row in a logical record. For all child rows in a logical record, this value is NULL.
logical_relation_change_genbigintThe generation value associated with the last change that caused realignment in the logical record, where an existing row moved into or out of a logical record.

Replication Tables (Transact-SQL)
Replication Views (Transact-SQL)

Community Additions

© 2016 Microsoft