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

How to know the current identity range to fire sp_adjustpublisheridentityrange when be necessary

$
0
0

Hello,

When I insert a huge amount of data, I frequently get the error of the identity range have been exceeded, when this happens I run the sp_adjustpublisheridentityrange stored procedure and goes on. But I would like to know when the the range is nearly depleted and execute the procedure, avoiding the error.

Can this be done or should I consider another approach?


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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