SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Identity range issue while subscribing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shobhaaradhya
Starting Member

35 Posts

Posted - 11/08/2012 :  05:48:00  Show Profile  Reply with Quote
Hi,


I am facing a serious issue with subscription. The scenario is




After restoring and making the changes to db 'Stationarytx'.



I am taking an example of a table "PaperPrint"

select max(id) from PaperPrint


results 1876100038

(Max id for the same table in before restoring is 1473000025.)

Now publish the db and create snapshot.


After publishing the identity range is setting correctly for this table ie ID > 1876100038 and ID < 1876000000.

Start subscribing the db.

After sql merge agent is executed successfully when I look into the subscribed database ie "PaperPrint" table the identity range will be ([ID] > 147500000 and [ID] < 147600000) and the identity range for the same table in publisher db is also ([ID] > 147400000 and [ID] < 147500000). So the identity range which is set while publishing is completely gone.


If again I republish db and subscribe the ranges would have increased by 1000000 ie (ofcourse this is the range set while publishing)


in publisher - [ID] > 147600000 and [ID] < 147700000

in subscribed db - [ID] > 147700000 and [ID] < 147800000

This is happening for all the tables which has identity key property.

I am creating only one subscription.

I get the following warning during publishing

Warning: only Subscribers running SQL Server 2000 can synchronize with publication 'xxx' because automatic identity ranges are being used.
Warning: only Subscribers running SQL Server 2000 can synchronize with publication 'xxx' because column-level collation is scripted out with the article schema creation script.
Warning: only Subscribers running SQL Server 2000 can synchronize with publication 'xxx' because extended properties are scripted out with the article schema creation script.
Warning: only Subscribers running SQL Server 2000 can synchronize with publication 'xxx' because data types new in SQL Server 2000 exist in one of its articles.


Any help would be appreciated. Pls.


Thanks,


  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000