Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Merge Replication - How to start between Live databases without Drop object for FK Expand / Collapse
Author
Message
Posted Monday, December 10, 2012 5:31 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Tuesday, November 11, 2014 6:02 AM
Points: 574, Visits: 807
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.
Post #1394560
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse