Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Merge Replication: 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 T-SQL. I have call sp_adjustpublisheridentityrange. Then I recreated the snapshot.

EXEC sp_adjustpublisheridentityrange @publication = N'VMS', @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).

Note: Only unique point is that my schema is not dbo


Viewing all articles
Browse latest Browse all 17268

Trending Articles



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