Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.87 KB

mspub-identity-range-transact-sql.md

File metadata and controls

36 lines (31 loc) · 1.87 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
MSpub_identity_range (Transact-SQL)
MSpub_identity_range (Transact-SQL)
VanMSFT
vanto
03/03/2017
sql
replication
reference
MSpub_identity_range_TSQL
MSpub_identity_range
MSpub_identity_range system table
TSQL

MSpub_identity_range (Transact-SQL)

[!INCLUDE SQL Server]

The MSpub_identity_range table provides identity range management support. This table is stored in the publication and subscription database.

Column name Data type Description
objid int The ID of the table that has the identity column being managed by replication.
range bigint Controls the range size of the consecutive identity values that would be assigned at the subscription in an adjustment.
pub_range bigint Controls the range size of the consecutive identity values that would be assigned at the publication in an adjustment.
current_pub_range bigint The current range being used by the publication. It can be different than pub_range if viewed after being changed by sp_changearticle and before the next range adjustment.
threshold int The percentage value that controls when the Distribution Agent assigns a new identity range. When the percentage of values specified in threshold is used, the Distribution Agent creates a new identity range.
last_seed bigint The lower bound of the current range.

See Also

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