MSmerge_current_partition_mappingsMSmerge_current_partition_mappings

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions)

对于给定的已更改行所属的每个分区 id, MSmerge_current_partition_mappings 表在其中存储一行。The MSmerge_current_partition_mappings table stores one row for each partition id a given changed row belongs to. 该表存储在发布数据库中。This table is stored in the publication database.

列名称Column name 数据类型Data type 说明Description
publication_numberpublication_number smallintsmallint 存储在 sysmergepublications 中的发布编号。The publication number, which is stored in sysmergepublications.
tablenicktablenick intint 已发布表的别名。The nickname of the published table.
rowguidrowguid uniqueidentifieruniqueidentifier 给定行的行标识符。The row identifier for the given row.
partition_idpartition_id intint 行所属分区的 ID。The ID of the partition to which the row belongs. 如果行更改与所有订阅服务器相关,则值为-1。The value is -1 if the row change is relevant to all Subscribers.

另请参阅See Also

Transact-sql)(复制表 Replication Tables (Transact-SQL)
复制视图 (Transact-SQL)Replication Views (Transact-SQL)