Ócáid
Mar 31, 11 PM - Apr 2, 11 PM
An ócáid foghlama SQL, Fabric and Power BI is mó. Márta 31 – 2 Aibreán. Bain úsáid as cód FABINSIDER chun $ 400 a shábháil.
Cláraigh inniuNí thacaítear leis an mbrabhsálaí seo a thuilleadh.
Uasghrádú go Microsoft Edge chun leas a bhaint as na gnéithe is déanaí, nuashonruithe slándála, agus tacaíocht theicniúil.
Applies to:
SQL Server
This stored procedure is used to update identity range assignments. It ensures that automatic identity range management functions properly after a Publisher is restored from a backup. This stored procedure is executed at the Publisher on the publication database.
Transact-SQL syntax conventions
sp_restoremergeidentityrange
[ [ @publication = ] N'publication' ]
[ , [ @article = ] N'article' ]
[ ; ]
The name of the publication. @publication is sysname, with a default of all
. When specified, only identity ranges for that publication are restored.
The name of the article. @article is sysname, with a default of all
. When specified, only identity ranges for that article are restored.
0
(success) or 1
(failure).
sp_restoremergeidentityrange
is used with merge replication.
sp_restoremergeidentityrange
gets maximum identity range allocation information from the Distributor, and updates values in the max_used
column of MSmerge_identity_range_allocations for the articles that use automatic identity range management.
Only members of the sysadmin fixed server role or db_owner fixed database role can execute sp_restoremergeidentityrange
.
Ócáid
Mar 31, 11 PM - Apr 2, 11 PM
An ócáid foghlama SQL, Fabric and Power BI is mó. Márta 31 – 2 Aibreán. Bain úsáid as cód FABINSIDER chun $ 400 a shábháil.
Cláraigh inniu