Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

sp_adjustpublisheridentityrange will not create new constraint range for subscriber

$
0
0

I have a merge replication in place.  I increased the identity_range to 100000 for a table.  I have done this both ways, via the properties of the publication on SSMS, and via TSQL.  I have call sp_adjustpublisheridentityrange.  Then I recreated the sanpshot.

 EXEC sp_adjustpublisheridentityrange @table_name = N'Label', @table_owner = N'caseup';

but after synchronization, the range defined in the table's constraint has not changed and now all of the identity values are used up.  All inserts are failing.

What needs to be done to force the publisher to recreate the identity range on a subscriber(s).




Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>