Re: id manage problem with ID RANGES in merge.

Tech-Archive recommends: Fix windows errors by optimizing your registry



Have you reviewed this http://www.simple-talk.com/2005/07/05/replication/
yet? There is also BOL which is perhaps a little vague.

I am a little confused by your post. You state "Even at that point, the
ranges were
> 700000 for both pub and sub. And as far as my understanding goes, the
> range
> at pub should have been from 1-700000 and 700001-1400000. "

Are you saying the range at the pub for the same article was 1-700000 and
700001-1400000? Or do you mean the range at the pub was 1-700000 and the
range at the sub was 700001-1400000. The latter is correct.

There is a bug when you drop the subscription the replication check
constraint remains. This isn't a problem unless you do a no-sync
subscription or if you have one of the name conflict sections which does not
clobber the table when the snapshot is applied. There options are the Keep
the existing table unchanged, delete all data, and delete all data which
matches the row filter statement.

You might not be able to delete the check constraints but you should be able
to alter them


--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

"Tejas Parikh" <TejasParikh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7B81F1D9-EB1B-479F-9E05-AB76A1BC4309@xxxxxxxxxxxxxxxx
> See, one thing I dont understand with this is that
> I had gotten it to work at one point. Even at that point, the ranges were
> 700000 for both pub and sub. And as far as my understanding goes, the
> range
> at pub should have been from 1-700000 and 700001-1400000. But it was not
> like
> that even though the whole process worked. The ranges were different but
> not
> the ones mentioned above for some reason.
>
> I had tried this process a few times. If it didn't work I would delete the
> subscription and then the publication. And then start again. Is this the
> reason why it messed up the id ranges? And also, SQL should not let me
> delete
> the check constraints as they r being used by replication, right? but in
> my
> case, it does. and then when i try to recreate them, it gives me the error
> 548 copied in the previous thread. I'm getting really confused now...
>
> Thank you for all your help.


.



Relevant Pages

  • Re: Identity range management
    ... drop the subscription, drop the publication put the NFR attribute on all ... Looking for a SQL Server replication book? ... The constraints are put in place by SQL Server when replication is set ...
    (microsoft.public.sqlserver.replication)
  • Re: sql2005 merge subs suddenly expired--
    ... sub, & resubscribe... ... but in repl monitor those wierd entris remain, ... Looking for a SQL Server replication book? ... than your subscription retention setting. ...
    (microsoft.public.sqlserver.replication)
  • Re: Check constraints not being replicated properly
    ... I DO want to enforce the constraints at the ... DML during replication because of the partitioned view requirements. ... We have a date_created partitioning ... How can I make sure the snapshot does not create the tables on the ...
    (microsoft.public.sqlserver.replication)
  • Re: Host Name Change and Replication
    ... the msdb.sysjobs did still contain PDB01 as the server originator and this caused the 14274 error about the MSX. ... I then added accountName user to the Security folder again, reenabled replication, and then made sure each agent was using the accountName and tested the replication. ... Unfortunately on DGP09 and TDB10 in their> subscription folder each had a push subscription pointing to PDB01 which no> longer exsists. ...
    (microsoft.public.sqlserver.server)
  • Re: General SQL Server 2005 transactional replication question
    ... "Hilary Cotter" wrote: ... Looking for a SQL Server replication book? ... publication part that requires the primary key constraints rather than the ... create the publication on the publisher and create the subscription, ...
    (microsoft.public.sqlserver.replication)