MSmerge_identity_range_allocations (Transact-SQL)
TOC
Collapse the table of content
Expand the table of content

MSmerge_identity_range_allocations (Transact-SQL)

 

Applies To: SQL Server

The MSmerge_identity_range_allocations table is used to track the history of identity range assignments, to both Publishers and Subscribers, for published articles. This table is stored in the distribution database.

Column nameData typeDescription
publisher_idsmallintThe ID of the Publisher.
publisher_dbnvarchar(128)The name of the publication database.
publicationnvarchar(128)The name of the publication.
articlenvarchar(128)The name of the article.
subscribernvarchar(128)The name of the Subscriber.
subscriber_dbnvarchar(128)The name of the subscription database.
is_pub_rangebitLists whether the identity range is assigned to a Publisher.
ranges_allocatedtinyintThe number of identity ranges assigned.
range_beginnumeric(38)The starting value of the range.
range_endnumeric(38)The last value in the range.
next_range_beginnumeric(38)The starting value of the next range to be assigned.
next_range_endnumeric(38)The last value of the next range to be assigned.
max_usednumeric(38)The highest identity value used.
time_of_allocationdatetimeThe time when the assignment was made.

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

Community Additions

ADD
Show:
© 2016 Microsoft