Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Merge Replication - How to start between Live databases without Drop object for FK


Merge Replication - How to start between Live databases without Drop object for FK

Author
Message
iBar
iBar
Mr or Mrs. 500
Mr or Mrs. 500 (586 reputation)Mr or Mrs. 500 (586 reputation)Mr or Mrs. 500 (586 reputation)Mr or Mrs. 500 (586 reputation)Mr or Mrs. 500 (586 reputation)Mr or Mrs. 500 (586 reputation)Mr or Mrs. 500 (586 reputation)Mr or Mrs. 500 (586 reputation)

Group: General Forum Members
Points: 586 Visits: 840
Hi,

Just learned that SQL2012 do not support "transaction replication with update-able subscriber", But i believe the issue with merge replication will be the same in SQL2005 and above. So:

Trying to setup merge replication between two live databases and both have same structure and same data for replication related objects
but
They do have different data in there related Foreign key tables


Reason is because i am try to solve/avoide following error:



Error messages:
The schema script 'DbTable1_2.sch' could not be propagated to the subscriber. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201001)
Get help: http://help/MSSQL_REPL-2147201001
Could not drop object 'dbo.DbTable1' because it is referenced by a FOREIGN KEY constraint. (Source: MSSQLServer, Error number: 3726)
Get help: http://help/3726





So question is:

How to start merge replication between two live database without a need to Drop and Re-create objects on subscriber?
Is this really necessary OR can be avoided with any option?

Note: I am trying to implement merge-replication as an alternative to "Transactional replication with update-able subscriber"

Many Thanks.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search